inkscape: fix on darwin again

I have no idea why but this broke Darwin. So added a conditional for the shebang patching.

https://hydra.nixos.org/build/73283875
This commit is contained in:
Matthew Justin Bauer
2018-04-26 20:47:16 -05:00
committed by GitHub
parent 70670342f3
commit 047c9372ab

View File

@@ -29,10 +29,13 @@ stdenv.mkDerivation rec {
patchShebangs fix-roff-punct
# XXX: Not needed for CMake:
patchShebangs share/palettes
patchShebangs share/patterns
patchShebangs share/symbols
patchShebangs share/templates
${lib.optionalString (!stdenv.isDarwin) ''
patchShebangs share/filters
patchShebangs share/palettes
patchShebangs share/patterns
patchShebangs share/symbols
patchShebangs share/templates
''}
# Python is used at run-time to execute scripts, e.g., those from
# the "Effects" menu.