diff options
Diffstat (limited to 'manifest.scm')
-rw-r--r-- | manifest.scm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/manifest.scm b/manifest.scm new file mode 100644 index 0000000..95b77fd --- /dev/null +++ b/manifest.scm @@ -0,0 +1,15 @@ +;; 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"))) |