about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--HACKING.md2
-rw-r--r--README.org2
-rw-r--r--manifest.scm16
3 files changed, 18 insertions, 2 deletions
diff --git a/HACKING.md b/HACKING.md
index bb822b3..59b7c9b 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -2,7 +2,7 @@
 
 Drop into a development environment using `guix shell`.
 ```
-guix shell -Df guix.scm
+guix shell -L .guix -m manifest.scm
 ```
 
 # Make a release
diff --git a/README.org b/README.org
index 3084234..1f87197 100644
--- a/README.org
+++ b/README.org
@@ -89,7 +89,7 @@ We do not accept issues or pull requests on GitHub. Thank you!
 To hack on ccwl, you can use GNU Guix to quickly drop into a
 development environment by running
 #+BEGIN_SRC shell
-  $ guix shell -Df guix.scm
+  $ guix shell -L .guix -m manifest.scm
 #+END_SRC
 
 * License
diff --git a/manifest.scm b/manifest.scm
new file mode 100644
index 0000000..a98114a
--- /dev/null
+++ b/manifest.scm
@@ -0,0 +1,16 @@
+(use-modules ((gnu packages guile-xyz) #:select (guile-ares-rs))
+             ((gnu packages task-management) #:select (git-bug))
+             ((ccwl-package) #:select (ccwl))
+             (srfi srfi-1))
+
+(define (manifest-cons* . args)
+  "ARGS is of the form (PACKAGES ... ONTO-MANIFEST). Return a manifest
+with PACKAGES and all packages in ONTO-MANIFEST."
+  (let ((packages (drop-right args 1))
+        (onto-manifest (last args)))
+    (manifest (append (map package->manifest-entry packages)
+                      (manifest-entries onto-manifest)))))
+
+(manifest-cons* git-bug
+                guile-ares-rs
+                (package->development-manifest ccwl))