aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 73d03ef051d6f9a6bb10dc94e49692ecf7b0531a (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
    lldClang
  ]);
}