aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 9c63ab9f618aabd96b870daa115ade31356134bc (plain) (blame)
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 -C target-cpu=native";
  RUST_BACKTRACE = "1";
}