mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
572bc6d7bd
commit
2acc83daa5
2 changed files with 6 additions and 1 deletions
|
@ -410,7 +410,7 @@ (define (manifest->code* manifest extra-manifests)
|
|||
(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)
|
||||
|
|
|
@ -69,6 +69,11 @@ guix build -m "$manifest" -d | \
|
|||
guix build -m "$manifest" -d | \
|
||||
grep "$(guix build git -d)"
|
||||
|
||||
guix shell --export-manifest -D guile -D python-itsdangerous > "$manifest"
|
||||
guix build -m "$manifest" -d | grep "$(guix build libffi -d)"
|
||||
guix build -m "$manifest" -d | \
|
||||
grep "$(guix build -e '(@ (gnu packages python) python)' -d)"
|
||||
|
||||
# Test various combinations to make sure generated code uses interfaces
|
||||
# correctly.
|
||||
for options in \
|
||||
|
|
Loading…
Reference in a new issue