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 ]); }