haskell.compiler.ghcjs810: set up EM_CACHE for emcc
The compiler function test now causes emcc to try and lock its cache (which is located in the nix store unless we set EM_CACHE). Resolves #376582.
This commit is contained in:
parent
c6247d0591
commit
18440f3748
@ -105,6 +105,9 @@ stdenv.mkDerivation {
|
||||
touch $HOME/.cabal/config
|
||||
cd lib/boot
|
||||
|
||||
export EM_CACHE="$HOME/.emscriptencache"
|
||||
mkdir -p "$EM_CACHE"
|
||||
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/lib/${bootGhcjs.name}
|
||||
lndir ${bootGhcjs}/bin $out/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user