From d6126294bf27c93e0f05cbd3129e9b20493db6d0 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Mon, 28 Feb 2022 09:34:37 -0500 Subject: Nix and updated templates --- shell.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..dfd7db7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,16 @@ +{ pkgs ? import {} }: + +let + sources = import ./nix/sources.nix; + pkgs = import sources.nixpkgs {}; + rust = import ./nix/rust.nix { inherit sources; }; +in +pkgs.mkShell { + buildInputs = [ + pkgs.hello + rust + + # keep this line if you use bash + pkgs.bashInteractive + ]; +} -- cgit v1.2.3