diff --git a/flake.nix b/flake.nix index cb8eab5..11cdc9b 100644 --- a/flake.nix +++ b/flake.nix @@ -60,6 +60,9 @@ type = "app"; program = "${kitchen}/bin/kitchen"; }; + devShell = pkgs.mkShell { + buildInputs = [ trunk rust-wasm ]; + }; } ); } \ No newline at end of file diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..312dff8 --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +let + lock = builtins.fromJSON (builtins.readFile ./flake.lock); +in +(import ( + fetchTarball { + url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; + sha256 = lock.nodes.flake-compat.locked.narHash; + } +) { + src = ./.; +}).devShell \ No newline at end of file