From 8689901f95499e98e0209e75b4f268bf2af325c1 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 24 Sep 2014 14:05:52 +0200 Subject: Introduce the 'GUIX_PACKAGE_PATH' environment variable. * gnu/packages.scm (%package-module-path): Honor $GUIX_PACKAGE_PATH. * test-env.in: Unset 'GUIX_PACKAGE_PATH'. * tests/guix-package.sh: Test it. * doc/guix.texi (Package Modules): Document it. --- tests/guix-package.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/guix-package.sh b/tests/guix-package.sh index 59b71d842d..9b0e75e6da 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -274,3 +274,9 @@ EOF guix package -A emacs-foo-bar -L "$module_dir" | grep 42 guix package -i emacs-foo-bar-42 -n -L "$module_dir" + +# Same thing using the 'GUIX_PACKAGE_PATH' environment variable. +GUIX_PACKAGE_PATH="$module_dir" +export GUIX_PACKAGE_PATH +guix package -A emacs-foo-bar | grep 42 +guix package -i emacs-foo-bar-42 -n -- cgit 1.4.1