Merge pull request #292683 from risicle/ris-routinator-darwin-systemconfiguration

routinator: fix build on darwin
This commit is contained in:
Weijia Wang 2024-03-02 14:57:16 +01:00 committed by GitHub
commit 2c53d57267
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

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

View file

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