From 07999f480b3117ab2b85410151fbac25bdb9b4ee Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 9 Sep 2020 20:57:32 +0200 Subject: [PATCH] ncftp: do not override $TMPDIR --- pkgs/tools/networking/ncftp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/ncftp/default.nix b/pkgs/tools/networking/ncftp/default.nix index 98fa6cc29f1a..d8c37ff58707 100644 --- a/pkgs/tools/networking/ncftp/default.nix +++ b/pkgs/tools/networking/ncftp/default.nix @@ -14,6 +14,8 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; 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 \ -e 's@/bin/ls@${coreutils}/bin/ls@g' \ -e 's@/bin/rm@${coreutils}/bin/rm@g'