[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: tests: 'guix shell --export-manifest' test no longer needs networ
From: |
guix-commits |
Subject: |
01/05: tests: 'guix shell --export-manifest' test no longer needs networking. |
Date: |
Fri, 8 Apr 2022 12:15:47 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 20691c70cf2c5a61af7f906b65d57a524ecfc4f3
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Apr 7 21:56:21 2022 +0200
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(-)
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"