Skip to content

Commit

Permalink
add some pkgs for nix shell on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Nov 10, 2023
1 parent 78a3150 commit 86019a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
with pkgs;
mkShell {
buildInputs = lib.optionals pkgs.stdenv.isLinux [
clang
openssl
pkg-config
rustup
] ++ lib.optionals pkgs.stdenv.isDarwin [
libiconv
darwin.apple_sdk.frameworks.CFNetwork
Expand All @@ -12,4 +15,5 @@ mkShell {
just
mdbook
];
LIBCLANG_PATH = lib.optionals pkgs.stdenv.isLinux "${llvmPackages.libclang.lib}/lib";
}

0 comments on commit 86019a4

Please sign in to comment.