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.
This commit is contained in:
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

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"