aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-07-08 00:15:52 -0700
committerGravatar Tom Willemse2021-07-08 02:25:13 -0700
commita779473cede81f4d3b4eed6f6b4e4184d43ffa87 (patch)
tree8172983cd0bbed958c0c31558f801aaf2273db96
parent68a2ebd34fc94488e89ffb82b359ec6e7e152ae9 (diff)
downloadcrafting-interpreters-a779473cede81f4d3b4eed6f6b4e4184d43ffa87.tar.gz
crafting-interpreters-a779473cede81f4d3b4eed6f6b4e4184d43ffa87.zip
Add manifest file for Guix for easy environment setup
-rw-r--r--README.org4
-rw-r--r--environment.scm9
2 files changed, 13 insertions, 0 deletions
diff --git a/README.org b/README.org
index 83623d7..c858497 100644
--- a/README.org
+++ b/README.org
@@ -1,3 +1,7 @@
+Set up environment with the proper packages:
+
+: guix environment -m environment.scm
+
Run tests with:
: runtest --tool jlox --srcdir testsuite
diff --git a/environment.scm b/environment.scm
new file mode 100644
index 0000000..9130e76
--- /dev/null
+++ b/environment.scm
@@ -0,0 +1,9 @@
+(use-modules (guix packages))
+
+(packages->manifest
+ (list (specification->package "cmake")
+ (specification->package "openjdk")
+ (list (specification->package "openjdk") "jdk")
+ (specification->package "coreutils")
+ (specification->package "make")
+ (specification->package "dejagnu")))