diff options
author | Akshay <[email protected]> | 2020-10-03 08:15:45 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-10-03 08:15:45 +0100 |
commit | 13d7bb03e4ef547d4a7cbd1505cb29c639b74dd9 (patch) | |
tree | 2009787ca8930eb9896e2e4cc27de07f1c5b28b3 /shell.nix | |
parent | 0cd619f386b820b88a1d369d1b5777cc6776922a (diff) |
add shell
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 11 |
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 | |||
3 | pkgs.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 | } | ||