summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-26 20:47:16 -0500
committerGitHub <noreply@github.com>2018-04-26 20:47:16 -0500
commit047c9372ab1314d8e3fab13b9f21359fdf3a643c (patch)
tree6a614c46c6c5fe44b574642d12786e7d1a886dc2 /pkgs/applications/graphics
parent70670342f3444a1422bfd9c7b45be756427fc1ac (diff)
downloadnixlib-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar
nixlib-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.gz
nixlib-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.bz2
nixlib-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.lz
nixlib-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.xz
nixlib-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.zst
nixlib-047c9372ab1314d8e3fab13b9f21359fdf3a643c.zip
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
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/inkscape/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index eb349e412068..5978612fdf33 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/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.