diff options
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 @@ +{ pkgs ? import <nixpkgs> {} }: + +pkgs.mkShell { + name = "rust-env"; + nativeBuildInputs = with pkgs; [ + rustc cargo + ]; + buildInputs = with pkgs; [ ncurses openssl ]; + + RUST_BACKTRACE = 1; +} |