From 9518856b9b7de297413e99f373909a793fe1303a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 7 Nov 2012 19:14:22 +0100 Subject: guix-package: Fix handling of the PACKAGE:OUTPUT syntax. * guix-package.in (guix-package)[find-package]: Return the correct NAME and SUB-DRV when NAME contains #\:. * tests/guix-package.sh (profile): Add test. --- tests/guix-package.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/guix-package.sh b/tests/guix-package.sh index 9c50f4dfeb..7363cfc945 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -40,4 +40,7 @@ guix-package -b -p "$profile" -r "guile-bootstrap-2.0" test -L "$profile-3-link" test -f "$profile/bin/make" && ! test -f "$profile/bin/guile" +# Make sure the `:' syntax works. +guix-package -b -i "libsigsegv:lib" -n + rm "$profile" "$profile-"[0-9]* -- cgit 1.4.1