From 03aedf8d7a05b8ce6793d1d4e0718d41c5a4c894 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 10 Jul 2013 01:00:19 +0200 Subject: tests: Fix guix-package.sh in the presence of multiple-output `make'. * tests/guix-package.sh: For $boot_make_drv, take only the "out" output. Reported by Nikita Karetnikov . --- tests/guix-package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/guix-package.sh b/tests/guix-package.sh index 0eeec51e79..ee186ead83 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -55,7 +55,7 @@ test "`guix package --search-paths -p "$profile" | wc -l`" = 0 if guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null then boot_make="(@@ (gnu packages base) gnu-make-boot0)" - boot_make_drv="`guix build -e "$boot_make"`" + boot_make_drv="`guix build -e "$boot_make" | tail -1`" guix package --bootstrap -p "$profile" -i "$boot_make_drv" test -L "$profile-2-link" test -f "$profile/bin/make" && test -f "$profile/bin/guile" -- cgit v1.2.3