diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | shell.nix | 12 |
2 files changed, 7 insertions, 6 deletions
@@ -6,3 +6,4 @@ | |||
6 | **/*.rs.bk | 6 | **/*.rs.bk |
7 | 7 | ||
8 | result | 8 | result |
9 | .envrc | ||
@@ -1,11 +1,11 @@ | |||
1 | { pkgs ? import <nixpkgs> {} }: | 1 | { pkgs ? import <nixpkgs> {} }: |
2 | 2 | ||
3 | pkgs.mkShell { | 3 | pkgs.mkShell { |
4 | name = "rust-env"; | 4 | name = "rust-env"; |
5 | nativeBuildInputs = with pkgs; [ | 5 | nativeBuildInputs = with pkgs; [ |
6 | rustc cargo | 6 | rustc cargo |
7 | ]; | 7 | ]; |
8 | buildInputs = with pkgs; [ openssl pkgconfig ]; | 8 | buildInputs = with pkgs; [ openssl pkgconfig ]; |
9 | 9 | ||
10 | RUST_BACKTRACE = 1; | 10 | RUST_BACKTRACE = 1; |
11 | } | 11 | } |