git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit047c9372ab1314d8e3fab13b9f21359fdf3a643c authorMatthew Justin Bauer <mjbauer95@gmail.com> dateThu 26 Apr 2018, 20:47 (9 years ago) parent7067034
1 file changed+7−4
pkgs/applications/graphics/inkscape/default.nix+7−4
pkgs/applications/graphics/inkscape/default.nix+7−4
@@ -29,10 +29,13 @@ stdenv.mkDerivation rec {
2929 patchShebangs fix-roff-punct
3030
3131 # XXX: Not needed for CMake:
32− patchShebangs share/palettes
33− patchShebangs share/patterns
34− patchShebangs share/symbols
35− patchShebangs share/templates
32+ ${lib.optionalString (!stdenv.isDarwin) ''
33+ patchShebangs share/filters
34+ patchShebangs share/palettes
35+ patchShebangs share/patterns
36+ patchShebangs share/symbols
37+ patchShebangs share/templates
38+ ''}
3639
3740 # Python is used at run-time to execute scripts, e.g., those from
3841 # the "Effects" menu.