diff --git a/pkgs/by-name/cz/czkawka/package.nix b/pkgs/by-name/cz/czkawka/package.nix index fdf03e4592914..ca21fc82c8755 100644 --- a/pkgs/by-name/cz/czkawka/package.nix +++ b/pkgs/by-name/cz/czkawka/package.nix @@ -10,6 +10,7 @@ , gobject-introspection , gtk4 , pango +, overrideSDK , pkg-config , rustPlatform , testers @@ -28,8 +29,12 @@ let hash = "sha256-SOWtLmehh1F8SoDQ+9d7Fyosgzya5ZztCv8IcJZ4J94="; }; cargoHash = "sha256-GOX7V6NLEMP06nMeRZINwcWCaHwK6T3nkRKl4e25DPg="; + + buildRustPackage' = rustPlatform.buildRustPackage.override { + stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv; + }; in -rustPlatform.buildRustPackage { +buildRustPackage' { inherit pname version src cargoHash; nativeBuildInputs = [