summaryrefslogtreecommitdiff
path: root/guix
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 /guix
parent7a57c96a1024e6b74359ba561110f19f92b89b06 (diff)
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 'guix')
-rw-r--r--guix/scripts/build.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index a6596d0a82..9193ad32b2 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -204,6 +204,7 @@ options handled by 'set-build-options-from-command-line', and listed in
(lambda (opt name arg result . rest)
;; XXX: Imperatively modify the search paths.
(%package-module-path (cons arg (%package-module-path)))
+ (%patch-path (cons arg (%patch-path)))
(set! %load-path (cons arg %load-path))
(set! %load-compiled-path (cons arg %load-compiled-path))