aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-package.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-12-30 18:15:54 +0100
committerLudovic Courtès <ludo@gnu.org>2015-12-30 18:15:54 +0100
commit223d793903500f9e38ea9536a5b270ee7cf283f7 (patch)
tree10ed80702622c5c356ccdf2fb8fd8c4373eb81b7 /tests/guix-package.sh
parent7a57c96a1024e6b74359ba561110f19f92b89b06 (diff)
downloadguix-223d793903500f9e38ea9536a5b270ee7cf283f7.tar
guix-223d793903500f9e38ea9536a5b270ee7cf283f7.tar.gz
guix build: Augment %PATCH-PATH when -L is passed.
Fixes <http://bugs.gnu.org/22259>. Reported by Nikolay Merinov <nikolay.merinov@member.fsf.org>. * guix/scripts/build.scm (%standard-build-options) <-L>: Augment %PATCH-PATH. * tests/guix-package.sh: Add test.
Diffstat (limited to 'tests/guix-package.sh')
-rw-r--r--tests/guix-package.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index bb1037044d..5e6ff8b012 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -225,6 +225,10 @@ cat > "$module_dir/foo.scm"<<EOF
EOF
guix package -i emacs-foo-bar-patched -n
+# Same when -L is used.
+( unset GUIX_PACKAGE_PATH; \
+ guix package -L "$module_dir" -i emacs-foo-bar-patched -n )
+
# Make sure installing from a file works.
cat > "$module_dir/package.scm"<<EOF
(use-modules (gnu))