See also NixOS/nixpkgs#16144
This commit is contained in:
Ryan Trinkle 2016-07-27 11:44:39 -04:00
parent 676a7b698f
commit bf6fdae0f2

View File

@ -97,6 +97,8 @@ in mkDerivation (rec {
--replace "@CC@" "${stdenv.cc}/bin/cc" --replace "@CC@" "${stdenv.cc}/bin/cc"
''; '';
preBuild = '' preBuild = ''
export HOME="$TMP"
local topDir=$out/lib/ghcjs-${version} local topDir=$out/lib/ghcjs-${version}
mkdir -p $topDir mkdir -p $topDir