From 047c9372ab1314d8e3fab13b9f21359fdf3a643c Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Thu, 26 Apr 2018 20:47:16 -0500 Subject: 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 --- pkgs/applications/graphics/inkscape/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'pkgs/applications/graphics') 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. -- cgit 1.4.1