Skip to content

Commit

Permalink
dev: Update wasm-pack version
Browse files Browse the repository at this point in the history
Motivated by this bug in v0.11.0:
rustwasm/wasm-pack#1247
  • Loading branch information
zaphar committed Nov 27, 2023
1 parent cbe7957 commit 0eee2e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions nix/devShell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
6 changes: 3 additions & 3 deletions nix/wasm-pack/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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}" ];
})
})

0 comments on commit 0eee2e3

Please sign in to comment.