trunk: fix build on darwin

This commit is contained in:
Mario Rodas 2023-12-17 20:40:00 -05:00
parent ca16221251
commit fa80274f38
2 changed files with 3 additions and 4 deletions

View File

@ -4,11 +4,10 @@ rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
libiconv,
jq,
moreutils,
CoreServices,
Security
SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
@ -24,7 +23,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = if stdenv.isDarwin
then [ libiconv CoreServices Security ]
then [ CoreServices SystemConfiguration ]
else [ openssl ];
# requires network
checkFlags = [ "--skip=tools::tests::download_and_install_binaries" ];

View File

@ -14068,7 +14068,7 @@ with pkgs;
trezor-suite = callPackage ../applications/blockchains/trezor-suite { };
trunk = callPackage ../development/tools/trunk {
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
inherit (darwin.apple_sdk.frameworks) CoreServices SystemConfiguration;
};
trunk-io = callPackage ../development/tools/trunk-io { };