mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
trunk: fix build on darwin
This commit is contained in:
parent
ca16221251
commit
fa80274f38
@ -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 New Issue
Block a user