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:
@@ -105,6 +105,9 @@ stdenv.mkDerivation {
|
|||||||
touch $HOME/.cabal/config
|
touch $HOME/.cabal/config
|
||||||
cd lib/boot
|
cd lib/boot
|
||||||
|
|
||||||
|
export EM_CACHE="$HOME/.emscriptencache"
|
||||||
|
mkdir -p "$EM_CACHE"
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mkdir -p $out/lib/${bootGhcjs.name}
|
mkdir -p $out/lib/${bootGhcjs.name}
|
||||||
lndir ${bootGhcjs}/bin $out/bin
|
lndir ${bootGhcjs}/bin $out/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user