From f1539cc86680935a0b2a5bbd16c64b110687cdf7 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 19 Jan 2021 15:54:51 +0900 Subject: Add a nix flake with the development environment. --- shell.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..f8f65093 --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + rust-bin.nightly.latest.rust + lld_10 + # pkgconfig + ]; + RUSTFLAGS = "-C link-arg=-fuse-ld=lld"; + RUST_BACKTRACE = "1"; +} + -- cgit v1.2.3-70-g09d2