Skip to content

Commit

Permalink
python.pkgs.pelican: only patch shebangs in /bin, fixes #30116
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Oct 9, 2017
1 parent 549188c commit 9304ae0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/development/python-modules/pelican/default.nix
Expand Up @@ -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/;
Expand Down

0 comments on commit 9304ae0

Please sign in to comment.