trunk: fix build on darwin; move to by-name
This commit is contained in:
parent
d4f265a2ed
commit
f9310ec1a9
@ -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" ];
|
||||
|
@ -12887,10 +12887,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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user