diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-08-19 17:54:54 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-08-19 17:54:54 +0200 |
commit | 437fd809922dc8b704fa653d4b5ca2b602cb0888 (patch) | |
tree | 52876e4b83f4a1accfdd98ab7372d39655f5d232 /guix/build-system | |
parent | ebe2f31f196ee85747aa2ffd7f9c0827b2066fb2 (diff) | |
download | gnu-guix-437fd809922dc8b704fa653d4b5ca2b602cb0888.tar gnu-guix-437fd809922dc8b704fa653d4b5ca2b602cb0888.tar.gz |
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'.
Diffstat (limited to 'guix/build-system')
-rw-r--r-- | guix/build-system/gnu.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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 |