Introduce patchShebangsPhase ran in preConfigurePhases
(cherry picked from commit 91c7e8747af1fdc2a70cd98594ccbb12a5c6902d) Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
@@ -36,7 +36,6 @@ 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} \
|
||||
|
||||
Reference in New Issue
Block a user