From 64fc89b6ec0928f7bbd7011d6a8dc325d63f4fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 19 Nov 2012 23:02:59 +0100 Subject: guix-package: Add `--list-available'. * guix-package.in (show-help, %options): Add `--list-available'. (guix-package)[process-query]: Add support for `--list-available'. * doc/guix.texi (Invoking guix-package): Document it. * tests/guix-package.sh: Add test. * guix/ui.scm (location->string): New procedure. * guix/utils.scm: Export . --- tests/guix-package.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/guix-package.sh') diff --git a/tests/guix-package.sh b/tests/guix-package.sh index 6c457ffd4b..c47ebe6fe7 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -57,4 +57,7 @@ test -f "$profile/bin/make" && ! test -f "$profile/bin/guile" # Make sure the `:' syntax works. guix-package -b -i "libsigsegv:lib" -n +# Check whether `--list-available' returns something sensible. +guix-package -A 'gui.*e' | grep guile + rm "$profile" "$profile-"[0-9]* -- cgit v1.2.3