diff options
author | tilpner | 2020-05-28 16:42:03 +0200 |
---|---|---|
committer | tilpner | 2020-05-28 16:43:47 +0200 |
commit | da07a2ca3a8c5ee97eac179b28dc3d4a064fd026 (patch) | |
tree | 40e384ffefd53acfb4aa589961b526e29387fb78 /shell.nix | |
download | github-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.tar.gz github-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.tar.xz github-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.zip |
Initial commit
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..73d03ef --- /dev/null +++ b/shell.nix @@ -0,0 +1,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 + ]); +} |