aboutsummaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-08-19 17:54:54 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-19 17:54:54 +0200
commit437fd809922dc8b704fa653d4b5ca2b602cb0888 (patch)
tree52876e4b83f4a1accfdd98ab7372d39655f5d232 /guix/build-system
parentebe2f31f196ee85747aa2ffd7f9c0827b2066fb2 (diff)
downloadgnu-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.scm4
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