From d3dd218bc2d6bfea1c9365f49b0e78802a249b8a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 23 Feb 2015 11:45:49 +0100 Subject: [PATCH] haskell-generic-builder: consistently use $TMPDIR to refer to the designated place for temporary files Resolves https://github.com/NixOS/nixpkgs/issues/6525. --- pkgs/development/haskell-modules/generic-builder.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 8e730fd37f03..03535f90b795 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -129,7 +129,7 @@ stdenv.mkDerivation ({ export PATH="${ghc}/bin:$PATH" ${optionalString (hasActiveLibrary && hyperlinkSource) "export PATH=${hscolour}/bin:$PATH"} - packageConfDir="$TMP/package.conf.d" + packageConfDir="$TMPDIR/package.conf.d" mkdir -p $packageConfDir setupCompileFlags="${concatStringsSep " " setupCompileFlags}"