3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #17314 from ryantrinkle/ghcjs-cabal-3494

ghcjs: work around haskell/cabal#3494
This commit is contained in:
Ryan Trinkle 2016-07-27 16:35:39 -04:00 committed by GitHub
commit 92d21f1115

View file

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