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
wip/yesman
Matthew Justin Bauer 6 years ago committed by GitHub
parent 70670342f3
commit 047c9372ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      pkgs/applications/graphics/inkscape/default.nix

@ -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.

Loading…
Cancel
Save