Unverified Commit b2a3ec3b authored by Artturin's avatar Artturin Committed by GitHub
Browse files

dezoomify-rs: fix build on Darwin (#336677)

parents 2407ff00 dd2b338d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  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"