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
buildInputs = [ libpng perl ];
14
propagatedBuildInputs = [ perlPackages.LWP ];
15
0
0
0
0
16
patchPhase = ''
17
patchShebangs extresso/extresso
18
patchShebangs extresso/extresso.in
···
13
buildInputs = [ libpng perl ];
14
propagatedBuildInputs = [ perlPackages.LWP ];
15
16
+
# Fixes a build failure on aarch64-darwin. Define for all Darwin targets for when x86_64-darwin
17
+
# upgrades to a newer SDK.
18
+
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-DTARGET_OS_IPHONE=0";
19
+
20
patchPhase = ''
21
patchShebangs extresso/extresso
22
patchShebangs extresso/extresso.in