routinator: fix build on darwin

This commit is contained in:
Robert Scott 2024-03-01 23:04:18 +00:00
parent 0e619d7837
commit fdf858c1fe
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, stdenv
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
@ -18,7 +19,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-X+pAvudfbxng6kMv0NO00v6mMBXUMaXvZb/L1OgWd38=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
buildNoDefaultFeatures = true;
buildFeatures = [ "socks" ];

View File

@ -6439,7 +6439,7 @@ with pkgs;
routersploit = callPackage ../tools/security/routersploit { };
routinator = callPackage ../servers/routinator {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
rsbep = callPackage ../tools/backup/rsbep { };