trunk: fix build on darwin
This commit is contained in:
parent
ca16221251
commit
fa80274f38
2 changed files with 3 additions and 4 deletions
|
@ -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" ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue