From b1a6db896737dc682a54139237109fc491f757ca Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 18 Aug 2020 11:19:09 +0530 Subject: add shell.nix --- shell.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..7f297bf --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + name = "rust-env"; + nativeBuildInputs = with pkgs; [ + rustc cargo + ]; + buildInputs = with pkgs; [ xorg.libxcb python3 ]; + + RUST_BACKTRACE = 1; +} -- cgit v1.2.3