From 9304ae04d7d6e24630943ee5312099c6568e1d32 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 9 Oct 2017 18:41:45 +0200 Subject: python.pkgs.pelican: only patch shebangs in /bin, fixes #30116 --- pkgs/development/python-modules/pelican/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pkgs/development/python-modules') diff --git a/pkgs/development/python-modules/pelican/default.nix b/pkgs/development/python-modules/pelican/default.nix index ea582afd96f6..e48623ef5b3d 100644 --- a/pkgs/development/python-modules/pelican/default.nix +++ b/pkgs/development/python-modules/pelican/default.nix @@ -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/; -- cgit 1.4.1