diff options
author | Akshay <[email protected]> | 2020-08-18 06:49:09 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-08-18 06:49:09 +0100 |
commit | b1a6db896737dc682a54139237109fc491f757ca (patch) | |
tree | a25390bb2b1548308dd0302ed9ad993e24591c13 | |
parent | 9dea2713d5691fa925d5f053ed6e52f7c6fc6a72 (diff) |
add 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..7f297bf --- /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; [ xorg.libxcb python3 ]; | ||
9 | |||
10 | RUST_BACKTRACE = 1; | ||
11 | } | ||