aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix23
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
+ ]);
+}