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

@@ -36,6 +36,7 @@ stdenv.mkDerivation rec {
# 'chrpath' is used to be able to run the tests from the source tree, but
# we use $LD_LIBRARY_PATH instead.
buildPhase = ''
patchShebangs .
mkdir -p "$out"
sed -e "s|python_lib_dir = .*|python_lib_dir = \"$out/lib/${pythonFull.libPrefix}/site-packages\"|" -i SConstruct
scons prefix="$out" leapfetch=no gpsd_user=${gpsdUser} gpsd_group=${gpsdGroup} \