aboutsummaryrefslogtreecommitdiff
path: root/manifest.scm
diff options
context:
space:
mode:
authorClombrong <clombrong@egregore.fun>2025-04-19 12:51:26 +0200
committerClombrong <cromblong@egregore.fun>2025-04-19 12:51:26 +0200
commit4dc8b3c4019549378bbf59a85b54a7eef9f55855 (patch)
treed6f7cc9e6a9abed32d920934421a5da5b06c10c2 /manifest.scm
init: Oh no. This one is real.
add README and COPYING license files instantiate all dune stanzas setup dune with guix shell and direnv, using merlin for project setup
Diffstat (limited to 'manifest.scm')
-rw-r--r--manifest.scm15
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")))