aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-10-03 08:15:45 +0100
committerAkshay <[email protected]>2020-10-03 08:15:45 +0100
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 @@
1{ pkgs ? import <nixpkgs> {} }:
2
3pkgs.mkShell {
4 name = "rust-env";
5 nativeBuildInputs = with pkgs; [
6 rustc cargo
7 ];
8 buildInputs = with pkgs; [ ncurses openssl ];
9
10 RUST_BACKTRACE = 1;
11}