Skip to content

Commit 427c89b

Browse files
committed
nix: Add shell.nix
1 parent b12ba34 commit 427c89b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

shell.nix

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{ pkgs ? import <nixpkgs> {}
2+
, ...
3+
}:
4+
5+
with pkgs; mkShell {
6+
buildInputs = [
7+
clang_14
8+
curl
9+
go
10+
iconv
11+
llvmPackages_14.libclang
12+
nettle
13+
openssl_1_1
14+
pkg-config
15+
protobuf
16+
rustup
17+
systemd
18+
rocksdb_7_10
19+
];
20+
21+
shellHook = ''
22+
export LIBCLANG_PATH="${llvmPackages_14.libclang.lib}/lib";
23+
'';
24+
}

0 commit comments

Comments
 (0)