Skip to content

Commit 86019a4

Browse files
committed
add some pkgs for nix shell on linux
1 parent 78a3150 commit 86019a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

shell.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
with pkgs;
33
mkShell {
44
buildInputs = lib.optionals pkgs.stdenv.isLinux [
5+
clang
56
openssl
7+
pkg-config
8+
rustup
69
] ++ lib.optionals pkgs.stdenv.isDarwin [
710
libiconv
811
darwin.apple_sdk.frameworks.CFNetwork
@@ -12,4 +15,5 @@ mkShell {
1215
just
1316
mdbook
1417
];
18+
LIBCLANG_PATH = lib.optionals pkgs.stdenv.isLinux "${llvmPackages.libclang.lib}/lib";
1519
}

0 commit comments

Comments
 (0)