Skip to content

Commit

Permalink
Separated mac dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidM-D committed Oct 27, 2023
1 parent 852d699 commit 15c2088
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@

# Everything in this list is added to your path
buildInputs =
with pkgs; [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
with pkgs;
[
protobuf
curl
gmp
Expand All @@ -31,7 +30,14 @@
# Development
cargo-watch
cargo-audit
];
] ++

pkgs.lib.optionals pkgs.stdenv.isDarwin
[
# Mac crypto libs
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
};
});
}

0 comments on commit 15c2088

Please sign in to comment.