From 223d793903500f9e38ea9536a5b270ee7cf283f7 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 30 Dec 2015 18:15:54 +0100 Subject: guix build: Augment %PATCH-PATH when -L is passed. Fixes . Reported by Nikolay Merinov . * guix/scripts/build.scm (%standard-build-options) <-L>: Augment %PATCH-PATH. * tests/guix-package.sh: Add test. --- guix/scripts/build.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'guix') 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)) -- cgit v1.2.3