Skip to content

Commit

Permalink
Merge pull request #323687 from khaneliman/czkawka
Browse files Browse the repository at this point in the history
czkawka: fix x86 darwin
  • Loading branch information
0x4A6F authored Jul 1, 2024
2 parents 2b38b5d + d0beaee commit b703c14
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/by-name/cz/czkawka/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
, gobject-introspection
, gtk4
, pango
, overrideSDK
, pkg-config
, rustPlatform
, testers
Expand All @@ -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 = [
Expand Down

0 comments on commit b703c14

Please sign in to comment.