aboutsummaryrefslogtreecommitdiff
path: root/distro/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-15 16:35:26 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-15 16:35:26 +0100
commitd008415219df27f0b0ab000ceed12226183cd9b2 (patch)
tree83debd8ecf8b08bd89646d36c251b8755da1b2c6 /distro/packages
parentc1c94acf3206a086358e2ea39aa011c8299d29e5 (diff)
downloadguix-d008415219df27f0b0ab000ceed12226183cd9b2.tar.gz
guix-d008415219df27f0b0ab000ceed12226183cd9b2.zip
build-system/gnu: Patch shebangs in executable source files.
This allows many packages to build in a chroot that lacks /bin and thus /bin/sh. * guix/build/gnu-build-system.scm (patch-source-shebangs): New procedure. (%standard-phases): Add it. * guix/build/utils.scm (executable-file?): New procedure. * distro/packages/perl.scm (perl): Don't use /bin/sh to run `Configure'.
Diffstat (limited to 'distro/packages')
-rw-r--r--distro/packages/perl.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/distro/packages/perl.scm b/distro/packages/perl.scm
index b17342f7ad..26b25b154d 100644
--- a/distro/packages/perl.scm
+++ b/distro/packages/perl.scm
@@ -55,7 +55,7 @@
(("/bin/pwd") pwd))
(zero?
- (system* "/bin/sh" "./Configure"
+ (system* "./Configure"
(string-append "-Dprefix=" out)
(string-append "-Dman1dir=" out "/share/man/man1")
(string-append "-Dman3dir=" out "/share/man/man3")