Loading pkgs/tools/graphics/icoutils/default.nix +2 −3 Original line number Diff line number Diff line Loading @@ -21,9 +21,8 @@ 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. env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-DTARGET_OS_IPHONE=0"; # Fixes build failures on Darwin. These should be defined in `TargetConditional.h`, but it’s failing anyway. env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-DTARGET_OS_IPHONE=0 -DTARGET_OS_EMBEDDED=0"; postPatch = '' patchShebangs extresso/extresso Loading Loading
pkgs/tools/graphics/icoutils/default.nix +2 −3 Original line number Diff line number Diff line Loading @@ -21,9 +21,8 @@ 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. env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-DTARGET_OS_IPHONE=0"; # Fixes build failures on Darwin. These should be defined in `TargetConditional.h`, but it’s failing anyway. env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-DTARGET_OS_IPHONE=0 -DTARGET_OS_EMBEDDED=0"; postPatch = '' patchShebangs extresso/extresso Loading