Merge pull request #123471 from stephank/fix-openbox-menu-darwin

openbox-menu: fix darwin build

authored by

Sandro and committed by
GitHub
7bfe6b14 5cec01f4

+7
+7
pkgs/applications/misc/openbox-menu/default.nix
··· 22 # Enables SVG support by uncommenting the Makefile 23 patches = [ ./000-enable-svg.patch ]; 24 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; {