dev: Update wasm-pack version

Motivated by this bug in v0.11.0:
https://github.com/rustwasm/wasm-pack/issues/1247
This commit is contained in:
Jeremy Wall 2023-11-26 20:35:50 -05:00
parent cbe7957844
commit 0eee2e33bf
2 changed files with 5 additions and 5 deletions

View File

@ -4,5 +4,5 @@ in
{ pkgs, rust-wasm, wasm-pack-hermetic, wasm-bindgen }:
with pkgs;
mkShell {
buildInputs = (lib.darwin-sdk pkgs) ++ (with pkgs; [wasm-bindgen wasm-pack-hermetic llvm clang rust-wasm]);
}
buildInputs = (lib.darwin-sdk pkgs) ++ (with pkgs; [wasm-bindgen wasm-pack-hermetic llvm clang rust-wasm binaryen]);
}

View File

@ -8,7 +8,7 @@ in
with pkgs;
(naersk-lib.buildPackage rec {
pname = "wasm-pack";
version = "v0.11.0";
version = "v0.12.1";
buildInputs = [ rust-wasm pkgs.openssl curl];
nativeBuildInputs = (my-lib.darwin-sdk pkgs) ++ [llvm clang pkg-config];
OPENSSL_NO_VENDOR=1;
@ -18,7 +18,7 @@ with pkgs;
owner = "rustwasm";
repo = "wasm-pack";
rev = version;
sha256 = "sha256-3iwXoYnmrZsbwFUR41uI/4jnCF0OjeRO7UqVDaGJJbQ=";
hash = "sha256-L4mCgUPG4cgTUpCoaIUOTONBOggXn5vMyPKj48B3MMk=";
};
cargoBuildOptions = opts: opts ++ ["-p" "${pname}" ];
})
})