1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

gitolite: change patchPhase to postPatch

Overriding patchPhase is bad practice, it prevents customizing the
package with "patches = []".
This commit is contained in:
Bjørn Forsman 2019-01-16 12:45:45 +01:00
parent 2f925345a2
commit 9e1b5f1115

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
dontBuild = true;
patchPhase = ''
postPatch = ''
substituteInPlace ./install --replace " 2>/dev/null" ""
substituteInPlace src/lib/Gitolite/Hooks/PostUpdate.pm \
--replace /usr/bin/perl "${perl}/bin/perl"