Move flake.nix issues/139943 Ref
This commit is contained in:
parent
9f4454fff1
commit
a5de499495
1 changed files with 1 additions and 9 deletions
10
flake.nix
10
flake.nix
|
|
@ -16,15 +16,6 @@
|
|||
};
|
||||
in
|
||||
pkgs.mkShell {
|
||||
# Ref: https://github.com/NixOS/nixpkgs/issues/139943
|
||||
# EM_CONFIG = pkgs.writeText ".emscripten" ''
|
||||
# EMSCRIPTEN_ROOT = '${pkgs.emscripten}/share/emscripten'
|
||||
# LLVM_ROOT = '${pkgs.emscripten.llvmEnv}/bin'
|
||||
# BINARYEN_ROOT = '${pkgs.binaryen}'
|
||||
# NODE_JS = '${pkgs.nodejs_24}/bin/node'
|
||||
# CACHE = '${toString ./.cache}'
|
||||
# '';
|
||||
|
||||
packages = with pkgs; [
|
||||
# Compilation
|
||||
gnumake
|
||||
|
|
@ -39,6 +30,7 @@
|
|||
shell = "${pkgs.bash}/bin/bash";
|
||||
|
||||
shellHook = ''
|
||||
# Ref: https://github.com/NixOS/nixpkgs/issues/139943
|
||||
export EM_CACHE=$PWD/.emscripten_cache
|
||||
cp -r ${pkgs.emscripten}/share/emscripten/cache $EM_CACHE
|
||||
chmod u+rwX -R $EM_CACHE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue