1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

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