From 20691c70cf2c5a61af7f906b65d57a524ecfc4f3 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 7 Apr 2022 21:56:21 +0200 Subject: 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. --- tests/guix-shell-export-manifest.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/guix-shell-export-manifest.sh') 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" -- cgit v1.2.3