trunk: fix build on darwin (#353076)

This commit is contained in:
Aleksana 2024-11-06 21:55:09 +08:00 committed by GitHub
commit 36464b3492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 10 deletions

View File

@ -1,11 +1,8 @@
{ lib,
stdenv,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
CoreServices,
SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
@ -20,9 +17,7 @@ rustPlatform.buildRustPackage rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = if stdenv.hostPlatform.isDarwin
then [ CoreServices SystemConfiguration ]
else [ openssl ];
buildInputs = [ openssl ];
# requires network
checkFlags = [ "--skip=tools::tests::download_and_install_binaries" ];

View File

@ -12842,10 +12842,6 @@ with pkgs;
trezor-suite = callPackage ../applications/blockchains/trezor-suite { };
trunk = callPackage ../development/tools/trunk {
inherit (darwin.apple_sdk.frameworks) CoreServices SystemConfiguration;
};
trunk-ng = callPackage ../by-name/tr/trunk-ng/package.nix {
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
};