fclones: fix build on x86_64-darwin

This commit is contained in:
figsoda 2023-03-14 15:49:18 -04:00
parent d349acac91
commit 2e0e2a426b
2 changed files with 5 additions and 9 deletions

View file

@ -1,9 +1,8 @@
{ lib
, stdenv
, fetchFromGitHub
, libiconv
, rustPlatform
, AppKit
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -20,8 +19,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-C7DKwEMYdypfItflMOL7rjbAdXDRsXDNoPlc9j6aBRA=";
buildInputs = lib.optionals stdenv.isDarwin [
AppKit
libiconv
darwin.apple_sdk_11_0.frameworks.AppKit
];
# device::test_physical_device_name test fails on Darwin

View file

@ -29952,9 +29952,7 @@ with pkgs;
fbida = callPackage ../applications/graphics/fbida { };
fclones = callPackage ../tools/misc/fclones {
inherit (darwin.apple_sdk.frameworks) AppKit;
};
fclones = callPackage ../tools/misc/fclones { };
fcp = callPackage ../tools/misc/fcp { };