summaryrefslogtreecommitdiff
path: root/tests/guix-shell-export-manifest.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-05-31 09:47:42 +0200
committerLudovic Courtès <ludo@gnu.org>2022-06-01 22:22:19 +0200
commit2acc83daa5a3dd1b4ed3f8c32ecadf1313e6fd18 (patch)
tree5c8783c7b3b12bdf2479949f4eb5db95ce230948 /tests/guix-shell-export-manifest.sh
parent572bc6d7bd4d970183965375161fa910d66c1d80 (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 'tests/guix-shell-export-manifest.sh')
-rw-r--r--tests/guix-shell-export-manifest.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/guix-shell-export-manifest.sh b/tests/guix-shell-export-manifest.sh
index f83904deb40..05429955b9a 100644
--- a/tests/guix-shell-export-manifest.sh
+++ b/tests/guix-shell-export-manifest.sh
@@ -69,6 +69,11 @@ guix build -m "$manifest" -d | \
69guix build -m "$manifest" -d | \ 69guix build -m "$manifest" -d | \
70 grep "$(guix build git -d)" 70 grep "$(guix build git -d)"
71 71
72guix shell --export-manifest -D guile -D python-itsdangerous > "$manifest"
73guix build -m "$manifest" -d | grep "$(guix build libffi -d)"
74guix build -m "$manifest" -d | \
75 grep "$(guix build -e '(@ (gnu packages python) python)' -d)"
76
72# Test various combinations to make sure generated code uses interfaces 77# Test various combinations to make sure generated code uses interfaces
73# correctly. 78# correctly.
74for options in \ 79for options in \