Revert "Introduce patchShebangsPhase ran in preConfigurePhases"

This reverts commit 512fbb280f.

See #5368
This commit is contained in:
Domen Kožar
2015-01-08 10:26:49 +01:00
parent 6671aff83e
commit 9b7b2ce8eb
86 changed files with 178 additions and 17 deletions

View File

@@ -35,7 +35,9 @@ stdenv.mkDerivation rec {
( map (var: ''-DPACKAGE_${var}_DIR=\""${builtins.getAttr var foolVars}"\"'')
(builtins.attrNames foolVars) );
preConfigure = stdenv.lib.optionalString useSystemd /* bogus chroot detection */ ''
preConfigure = ''
patchShebangs .
'' + stdenv.lib.optionalString useSystemd /* bogus chroot detection */ ''
sed '/libsystemd-login autoconfigured, but system does not appear to use systemd/s/.*/:/' -i configure
''
# libpolkit-agent-1.so should call the setuid wrapper on