aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-04-07 21:56:21 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-08 18:14:35 +0200
commit20691c70cf2c5a61af7f906b65d57a524ecfc4f3 (patch)
tree8794edfa675236f42df678e919c5f40b77fcec77 /tests
parent09ec1d65613e111a3ee2cbeda350441e058deb8f (diff)
downloadguix-20691c70cf2c5a61af7f906b65d57a524ecfc4f3.tar
guix-20691c70cf2c5a61af7f906b65d57a524ecfc4f3.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-shell-export-manifest.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/guix-shell-export-manifest.sh b/tests/guix-shell-export-manifest.sh
index cbb90f04bf..f83904deb4 100644
--- a/tests/guix-shell-export-manifest.sh
+++ b/tests/guix-shell-export-manifest.sh
@@ -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"