blob: 57182d7f3d30a40d517cfa9849e74483186fe9ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.
(use-modules (guix transformations))
(define ocaml-latest
(options->transformation
'((with-version . "ocaml=5.3.0"))))
(packages->manifest
(list (specification->package "gcc-toolchain")
(ocaml-latest (specification->package "ocaml"))
(specification->package "opam")
(specification->package "node")
(specification->package "pkg-config")
(specification->package "gmp")
(specification->package "hyperfine")
(specification->package "unzip")))
|