summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkshay <nerdy@peppe.rs>2020-10-03 12:45:45 +0530
committerAkshay <nerdy@peppe.rs>2020-10-03 12:45:45 +0530
commit13d7bb03e4ef547d4a7cbd1505cb29c639b74dd9 (patch)
tree2009787ca8930eb9896e2e4cc27de07f1c5b28b3
parent0cd619f386b820b88a1d369d1b5777cc6776922a (diff)
add shell
-rw-r--r--shell.nix11
1 files changed, 11 insertions, 0 deletions
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 <nixpkgs> {} }:
+
+pkgs.mkShell {
+ name = "rust-env";
+ nativeBuildInputs = with pkgs; [
+ rustc cargo
+ ];
+ buildInputs = with pkgs; [ ncurses openssl ];
+
+ RUST_BACKTRACE = 1;
+}