Include wasm-bindgen in devShell

This commit is contained in:
Jeremy Wall 2023-03-22 18:43:20 -04:00
parent 992f4248b2
commit 85c89b1754
2 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@
program = "${kitchen}/bin/kitchen";
};
devShell = pkgs.callPackage ./nix/devShell/default.nix {
inherit rust-wasm;
inherit rust-wasm wasm-bindgen;
wasm-pack-hermetic = wasm-pack;
};
}

View File

@ -1,8 +1,8 @@
let
lib = import ../lib/lib.nix;
in
{ pkgs, rust-wasm, wasm-pack-hermetic }:
{ pkgs, rust-wasm, wasm-pack-hermetic, wasm-bindgen }:
with pkgs;
mkShell {
buildInputs = (lib.darwin-sdk pkgs) ++ (with pkgs; [wasm-bindgen-cli wasm-pack-hermetic llvm clang rust-wasm]);
buildInputs = (lib.darwin-sdk pkgs) ++ (with pkgs; [wasm-bindgen wasm-pack-hermetic llvm clang rust-wasm]);
}