Skip to content

Commit

Permalink
dezoomify-rs: fix build on Darwin (#336677)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored Sep 2, 2024
2 parents 2407ff0 + dd2b338 commit b2a3ec3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/by-name/de/dezoomify-rs/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
darwin,
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -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"
Expand Down

0 comments on commit b2a3ec3

Please sign in to comment.