python.pkgs.pelican: only patch shebangs in /bin, fixes #30116

This commit is contained in:
Frederik Rietdijk 2017-10-09 18:41:45 +02:00
parent 549188c293
commit 9304ae04d7

View File

@ -45,6 +45,16 @@ buildPythonPackage rec {
LC_ALL="en_US.UTF-8";
# We only want to patch shebangs in /bin, and not those
# of the project scripts that are created by Pelican.
# See https://github.com/NixOS/nixpkgs/issues/30116
dontPatchShebangs = true;
postFixup = ''
patchShebangs $out/bin
'';
meta = with stdenv.lib; {
description = "A tool to generate a static blog from reStructuredText or Markdown input files";
homepage = http://getpelican.com/;