From 927a339c6e870c51ee3c67b942daf4804ac4cadc Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 25 Mar 2026 00:52:48 +0000 Subject: manifest: Add development manifest. This manifest contains additional tools useful for hacking on ccwl, and not just the dependencies required to build ccwl. --- HACKING.md | 2 +- README.org | 2 +- manifest.scm | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 manifest.scm 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)) -- cgit 1.4.1