Skip to content

Commit

Permalink
add Darwin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
t56k committed Mar 12, 2024
1 parent 4dcd91f commit 57c9e05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
gitu = craneLib.buildPackage {
src = craneLib.cleanCargoSource (craneLib.path ./.);
doCheck = false;
buildInputs = with pkgs; [ openssl ];
nativeBuildInputs = with pkgs; [ pkg-config ];
buildInputs = with pkgs;
[ openssl pkg-config ] ++ nixpkgs.lib.optionals stdenv.isDarwin
[ darwin.apple_sdk.frameworks.Security ];
};
in {
checks = { inherit gitu; };
Expand Down

0 comments on commit 57c9e05

Please sign in to comment.