Skip to content

Commit

Permalink
emscripten: 3.1.64 -> 3.1.72
Browse files Browse the repository at this point in the history
  • Loading branch information
willcohen committed Nov 23, 2024
1 parent 184abe5 commit a51f60e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkgs/development/compilers/emscripten/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

stdenv.mkDerivation rec {
pname = "emscripten";
version = "3.1.64";
version = "3.1.72";

llvmEnv = symlinkJoin {
name = "emscripten-llvm-${version}";
Expand All @@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
name = "emscripten-node-modules-${version}";
inherit pname version src;

npmDepsHash = "sha256-2dsIuB6P+Z3wflIsn6QaZvjHeHHGzsFAI3GcP3SfiP4=";
npmDepsHash = "sha256-bqxUlxpIH1IAx9RbnaMq4dZW8fy+M/Q02Q7VrW/AKNQ=";

dontBuild = true;

Expand All @@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "emscripten-core";
repo = "emscripten";
hash = "sha256-AbO1b4pxZ7I6n1dRzxhLC7DnXIUnaCK9SbLy96Qxqr0=";
hash = "sha256-OG3yLGU/miNBqN/6k7bfvvrGvHQ07bd70cCMLu2zzR0=";
rev = version;
};

Expand All @@ -51,6 +51,9 @@ stdenv.mkDerivation rec {
patchShebangs .
# emscripten 3.1.67 requires LLVM tip-of-tree instead of LLVM 18
sed -i -e "s/EXPECTED_LLVM_VERSION = 20/EXPECTED_LLVM_VERSION = 19/g" tools/shared.py
# fixes cmake support
sed -i -e "s/print \('emcc (Emscript.*\)/sys.stderr.write(\1); sys.stderr.flush()/g" emcc.py
Expand Down

0 comments on commit a51f60e

Please sign in to comment.