czkawka: fix x86 darwin

This commit is contained in:
Austin Horstman 2024-06-30 17:22:37 -05:00
parent a63cd97f5a
commit d0beaee2b8
No known key found for this signature in database

View File

@ -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 = [