fclones: fix build on x86_64-darwin
This commit is contained in:
parent
d349acac91
commit
2e0e2a426b
|
@ -1,9 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, libiconv
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, AppKit
|
, fetchFromGitHub
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
@ -20,8 +19,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargoHash = "sha256-C7DKwEMYdypfItflMOL7rjbAdXDRsXDNoPlc9j6aBRA=";
|
cargoHash = "sha256-C7DKwEMYdypfItflMOL7rjbAdXDRsXDNoPlc9j6aBRA=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
AppKit
|
darwin.apple_sdk_11_0.frameworks.AppKit
|
||||||
libiconv
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# device::test_physical_device_name test fails on Darwin
|
# device::test_physical_device_name test fails on Darwin
|
||||||
|
|
|
@ -29952,9 +29952,7 @@ with pkgs;
|
||||||
|
|
||||||
fbida = callPackage ../applications/graphics/fbida { };
|
fbida = callPackage ../applications/graphics/fbida { };
|
||||||
|
|
||||||
fclones = callPackage ../tools/misc/fclones {
|
fclones = callPackage ../tools/misc/fclones { };
|
||||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
|
||||||
};
|
|
||||||
|
|
||||||
fcp = callPackage ../tools/misc/fcp { };
|
fcp = callPackage ../tools/misc/fcp { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue