aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 1265723e9b50a4914a0b5d1eefcf5c1428bc7fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
with import <nixpkgs> {};

let
  llvmPackages = llvmPackages_9;
in mkShell {
  RUSTFLAGS="-C link-arg=-fuse-ld=lld";

  buildInputs = [
    pkgconfig
    openssl

    nur.repos.mozilla.rustChannels.stable.rust
    crate2nix

    cacert

    sqlite
  ] ++ (with llvmPackages; [
    clang llvm
    libclang.lib
    bintools
  ]);
}