summaryrefslogtreecommitdiff
path: root/shell.nix
blob: e0a260456ba2090c58481d516f14cabec1678426 (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";
  RUST_BACKTRACE = "1";
}