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