mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-21 19:29:49 -04:00
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:
parent
cbe7957844
commit
0eee2e33bf
@ -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]);
|
||||
}
|
||||
|
@ -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}" ];
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user