diff options
author | Randy Eckenrode <randy@largeandhighquality.com> | 2022-02-23 22:58:34 -0500 |
---|---|---|
committer | Randy Eckenrode <randy@largeandhighquality.com> | 2022-02-23 23:47:57 -0500 |
commit | 20648fc2cc7bcf0512f422bb6b481ed9941b4a18 (patch) | |
tree | e71776148647599a51c9fe3034bfd255b58f7023 /pkgs/tools/graphics/icoutils | |
parent | 0869a7d57a1408758156fca0d58a03a0ecfdac45 (diff) |
icoutils: fix build on aarch64-darwin
Diffstat (limited to 'pkgs/tools/graphics/icoutils')
-rw-r--r-- | pkgs/tools/graphics/icoutils/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/icoutils/default.nix b/pkgs/tools/graphics/icoutils/default.nix index 62b4ab6b303ed..07f605a4cbffb 100644 --- a/pkgs/tools/graphics/icoutils/default.nix +++ b/pkgs/tools/graphics/icoutils/default.nix @@ -13,6 +13,10 @@ stdenv.mkDerivation rec { buildInputs = [ libpng perl ]; propagatedBuildInputs = [ perlPackages.LWP ]; + # Fixes a build failure on aarch64-darwin. Define for all Darwin targets for when x86_64-darwin + # upgrades to a newer SDK. + NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DTARGET_OS_IPHONE=0"; + patchPhase = '' patchShebangs extresso/extresso patchShebangs extresso/extresso.in |