Skip to content

Commit

Permalink
Merge pull request #186 from ralexstokes/nix-shell
Browse files Browse the repository at this point in the history
add some pkgs for nix shell on linux
ralexstokes authored Nov 10, 2023
2 parents 78a3150 + 86019a4 commit d4e4646
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
@@ -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
@@ -12,4 +15,5 @@ mkShell {
just
mdbook
];
LIBCLANG_PATH = lib.optionals pkgs.stdenv.isLinux "${llvmPackages.libclang.lib}/lib";
}

0 comments on commit d4e4646

Please sign in to comment.