me
/
guix
Archived
1
0
Fork 0

tests: 'guix shell --export-manifest' test no longer needs networking.

* tests/guix-shell-export-manifest.sh: Use '--with-input' rather than
'--with-latest' as the latter would crash in the absence of network
access.
master
Ludovic Courtès 2022-04-07 21:56:21 +02:00
parent 09ec1d6561
commit 20691c70cf
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 2 deletions

View File

@ -55,9 +55,10 @@ guix build -m "$manifest.second" -d | \
grep "$(guix build gash -d)"
# Package transformation option.
guix shell --export-manifest guile guix --with-latest=guile-json > "$manifest"
guix shell --export-manifest guile guix \
--with-input=guile-json@3=guile-json > "$manifest"
grep 'options->transformation' "$manifest"
grep '(with-latest . "guile-json")' "$manifest"
grep '(with-input . "guile-json@3=guile-json")' "$manifest"
# Development manifest.
guix shell --export-manifest -D guile git > "$manifest"