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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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