tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openbox-menu: fix darwin build
Stéphan Kochen
4 years ago
e010c911
42add180
+7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
openbox-menu
default.nix
+7
pkgs/applications/misc/openbox-menu/default.nix
···
22
# Enables SVG support by uncommenting the Makefile
23
patches = [ ./000-enable-svg.patch ];
24
0
0
0
0
0
0
0
25
installFlags = [ "prefix=${placeholder "out"}" ];
26
27
meta = with lib; {
···
22
# Enables SVG support by uncommenting the Makefile
23
patches = [ ./000-enable-svg.patch ];
24
25
+
# The strip options are not recognized by Darwin.
26
+
postPatch = lib.optionalString stdenv.isDarwin ''
27
+
sed -i -e '/strip -s/d' Makefile
28
+
'';
29
+
30
+
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
31
+
32
installFlags = [ "prefix=${placeholder "out"}" ];
33
34
meta = with lib; {