From 437fd809922dc8b704fa653d4b5ca2b602cb0888 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 19 Aug 2012 17:54:54 +0200 Subject: build-system/gnu: Add a `patch-shebangs' phase. * guix/build/gnu-build-system.scm (patch-shebangs): New procedure. (%standard-phases): Add it. * guix/build-system/gnu.scm (gnu-build): New `patch-shebangs?' keyword parameter. Pass it to the builder's `gnu-build'. --- guix/build-system/gnu.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'guix/build-system/gnu.scm') diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm index e12acf20fb..cc00c0fddd 100644 --- a/guix/build-system/gnu.scm +++ b/guix/build-system/gnu.scm @@ -48,6 +48,7 @@ (patches ''()) (patch-flags ''("--batch" "-p1")) (tests? #t) (parallel-build? #t) (parallel-tests? #t) + (patch-shebangs? #t) (phases '%standard-phases) (system (%current-system)) (modules '((guix build gnu-build-system) @@ -69,7 +70,8 @@ input derivation INPUTS, using the usual procedure of the GNU Build System." #:make-flags ,make-flags #:tests? ,tests? #:parallel-build? ,parallel-build? - #:parallel-tests? ,parallel-tests?))) + #:parallel-tests? ,parallel-tests? + #:patch-shebangs? ,patch-shebangs?))) (build-expression->derivation store name system builder -- cgit v1.2.3