summary refs log tree commit diff
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
parent70670342f3444a1422bfd9c7b45be756427fc1ac (diff)
downloadnixpkgs-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar
nixpkgs-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.gz
nixpkgs-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.bz2
nixpkgs-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.lz
nixpkgs-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.xz
nixpkgs-047c9372ab1314d8e3fab13b9f21359fdf3a643c.tar.zst
nixpkgs-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
-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 eb349e41206..5978612fdf3 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.