mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
openbox-menu: fix darwin build
This commit is contained in:
parent
42add18071
commit
e010c91104
1 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,13 @@ stdenv.mkDerivation rec {
|
|||
# Enables SVG support by uncommenting the Makefile
|
||||
patches = [ ./000-enable-svg.patch ];
|
||||
|
||||
# The strip options are not recognized by Darwin.
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
sed -i -e '/strip -s/d' Makefile
|
||||
'';
|
||||
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
installFlags = [ "prefix=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue