~ruther/guix-local

03aedf8d7a05b8ce6793d1d4e0718d41c5a4c894 — Ludovic Courtès 12 years ago b592f71
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 <nikita@karetnikov.org>.
1 files changed, 1 insertions(+), 1 deletions(-)

M tests/guix-package.sh
M tests/guix-package.sh => tests/guix-package.sh +1 -1
@@ 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"