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
|
in
|
||||||
pkgs.mkShell {
|
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; [
|
packages = with pkgs; [
|
||||||
# Compilation
|
# Compilation
|
||||||
gnumake
|
gnumake
|
||||||
|
|
@ -39,6 +30,7 @@
|
||||||
shell = "${pkgs.bash}/bin/bash";
|
shell = "${pkgs.bash}/bin/bash";
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
# Ref: https://github.com/NixOS/nixpkgs/issues/139943
|
||||||
export EM_CACHE=$PWD/.emscripten_cache
|
export EM_CACHE=$PWD/.emscripten_cache
|
||||||
cp -r ${pkgs.emscripten}/share/emscripten/cache $EM_CACHE
|
cp -r ${pkgs.emscripten}/share/emscripten/cache $EM_CACHE
|
||||||
chmod u+rwX -R $EM_CACHE
|
chmod u+rwX -R $EM_CACHE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue