tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
icoutils: fix build on aarch64-darwin
Randy Eckenrode
4 years ago
20648fc2
0869a7d5
+4
1 changed file
expand all
collapse all
unified
split
pkgs
tools
graphics
icoutils
default.nix
+4
pkgs/tools/graphics/icoutils/default.nix
···
13
13
buildInputs = [ libpng perl ];
14
14
propagatedBuildInputs = [ perlPackages.LWP ];
15
15
16
16
+
# Fixes a build failure on aarch64-darwin. Define for all Darwin targets for when x86_64-darwin
17
17
+
# upgrades to a newer SDK.
18
18
+
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DTARGET_OS_IPHONE=0";
19
19
+
16
20
patchPhase = ''
17
21
patchShebangs extresso/extresso
18
22
patchShebangs extresso/extresso.in