tests: 'guix shell --export-manifest' test no longer needs networking.
authorLudovic Courtès <ludo@gnu.org>
Thu, 7 Apr 2022 19:56:21 +0000 (21:56 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 8 Apr 2022 16:14:35 +0000 (18:14 +0200)
* tests/guix-shell-export-manifest.sh: Use '--with-input' rather than
'--with-latest' as the latter would crash in the absence of network
access.

tests/guix-shell-export-manifest.sh

index cbb90f0..f83904d 100644 (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"