Fix error in the devshell derivation

This commit is contained in:
Jeremy Wall 2023-03-21 17:24:11 -04:00
parent 0beb468197
commit fafcf6f981
2 changed files with 5 additions and 3 deletions

View File

@ -72,7 +72,6 @@
type = "app"; type = "app";
program = "${kitchen}/bin/kitchen"; program = "${kitchen}/bin/kitchen";
}; };
devShell = pkgs.callPackage ./nix/devShell/default.nix { inherit rust-wasm; };
} }
); );
} }

View File

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