Merge pull request #257273 from figsoda/findomain

findomain: fix build on darwin
This commit is contained in:
Weijia Wang 2023-09-28 23:54:49 +02:00 committed by GitHub
commit f513bf3a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -5,7 +5,7 @@
, pkg-config
, openssl
, stdenv
, Security
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
env = {

View File

@ -8174,9 +8174,7 @@ with pkgs;
findex = callPackage ../applications/misc/findex { };
findomain = callPackage ../tools/networking/findomain {
inherit (darwin.apple_sdk.frameworks) Security;
};
findomain = callPackage ../tools/networking/findomain { };
findutils = callPackage ../tools/misc/findutils { };