feroxbuster: fix build on darwin

This commit is contained in:
Weijia Wang 2024-05-22 14:18:14 +02:00
parent a79236678b
commit 59c8508a5e
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
, pkg-config
, rustPlatform
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
@ -35,6 +36,7 @@ rustPlatform.buildRustPackage rec {
openssl
] ++ lib.optionals stdenv.isDarwin [
Security
SystemConfiguration
];
# Tests require network access

View File

@ -7917,7 +7917,7 @@ with pkgs;
ferm = callPackage ../tools/networking/ferm { };
feroxbuster = callPackage ../tools/security/feroxbuster {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
ffsend = callPackage ../tools/misc/ffsend {