From 13d7bb03e4ef547d4a7cbd1505cb29c639b74dd9 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 3 Oct 2020 12:45:45 +0530 Subject: add shell --- shell.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..f6e0283 --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + name = "rust-env"; + nativeBuildInputs = with pkgs; [ + rustc cargo + ]; + buildInputs = with pkgs; [ ncurses openssl ]; + + RUST_BACKTRACE = 1; +} -- cgit v1.2.3