From 0eee2e33bf8fb2df53495a8545c4c7c6a6357987 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Sun, 26 Nov 2023 20:35:50 -0500 Subject: [PATCH] dev: Update wasm-pack version Motivated by this bug in v0.11.0: https://github.com/rustwasm/wasm-pack/issues/1247 --- nix/devShell/default.nix | 4 ++-- nix/wasm-pack/default.nix | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nix/devShell/default.nix b/nix/devShell/default.nix index bc29ea0..81aff51 100644 --- a/nix/devShell/default.nix +++ b/nix/devShell/default.nix @@ -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]); -} \ No newline at end of file + buildInputs = (lib.darwin-sdk pkgs) ++ (with pkgs; [wasm-bindgen wasm-pack-hermetic llvm clang rust-wasm binaryen]); +} diff --git a/nix/wasm-pack/default.nix b/nix/wasm-pack/default.nix index 5010ab9..e43b837 100644 --- a/nix/wasm-pack/default.nix +++ b/nix/wasm-pack/default.nix @@ -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}" ]; -}) \ No newline at end of file +})