1 2 3 4 5 6 7 8 9 10 11 12
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell { nativeBuildInputs = with pkgs; [ (rust-bin.nightly.latest.rust.override { extensions = ["rust-src"]; }) lld_10 # pkgconfig ]; RUSTFLAGS = "-C link-arg=-fuse-ld=lld"; RUST_BACKTRACE = "1"; }