dezoomify-rs: fix build on Darwin
It fails to link otherwise: = note: ld: framework not found SystemConfiguration clang-16: error: linker command failed with exit code 1 (use -v to see invocation) error: could not compile `dezoomify-rs` (bin "dezoomify-rs") due to 1 previous error
This commit is contained in:
parent
3aa46c6b25
commit
dd2b338d7a
@ -1,7 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -17,6 +19,13 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-v48eM43+/dt2M1J9yfjfTpBetv6AA2Hhzu8rrL3gojg=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (
|
||||
with darwin.apple_sdk.frameworks;
|
||||
[
|
||||
SystemConfiguration
|
||||
]
|
||||
);
|
||||
|
||||
checkFlags = [
|
||||
# Tests failing due to networking errors in Nix build environment
|
||||
"--skip=local_generic_tiles"
|
||||
|
Loading…
Reference in New Issue
Block a user