diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-05-31 09:47:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-06-01 22:22:19 +0200 |
commit | 2acc83daa5a3dd1b4ed3f8c32ecadf1313e6fd18 (patch) | |
tree | 5c8783c7b3b12bdf2479949f4eb5db95ce230948 /guix/scripts/shell.scm | |
parent | 572bc6d7bd4d970183965375161fa910d66c1d80 (diff) |
shell: '--export-manifest -D x -D y' generates a valid manifest.
* guix/scripts/shell.scm (manifest->code*): Add missing 'list' in
generated 'concatenate-manifests' call.
* tests/guix-shell-export-manifest.sh: Add test.
Diffstat (limited to 'guix/scripts/shell.scm')
-rw-r--r-- | guix/scripts/shell.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm index d9af2517c2..1a6df98829 100644 --- a/guix/scripts/shell.scm +++ b/guix/scripts/shell.scm @@ -410,7 +410,7 @@ concatenates MANIFESTS, a list of expressions." (if (null? (manifest-entries manifest)) (match extra-manifests ((one) one) - (lst `(concatenate-manifests ,@extra-manifests))) + (lst `(concatenate-manifests (list ,@extra-manifests)))) (match (manifest->code manifest #:entry-package-version manifest-entry-version-prefix) |