ncftp: do not override $TMPDIR

This commit is contained in:
Gabriel Ebner 2020-09-09 20:57:32 +02:00
parent 63e1162357
commit 07999f480b

View file

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
preConfigure = '' preConfigure = ''
find -name Makefile.in | xargs sed -i '/^TMPDIR=/d'
find . -name '*.sh' -or -name '*.in' -or -name '*.c' -or -name configure | xargs sed -i \ find . -name '*.sh' -or -name '*.in' -or -name '*.c' -or -name configure | xargs sed -i \
-e 's@/bin/ls@${coreutils}/bin/ls@g' \ -e 's@/bin/ls@${coreutils}/bin/ls@g' \
-e 's@/bin/rm@${coreutils}/bin/rm@g' -e 's@/bin/rm@${coreutils}/bin/rm@g'