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

@ -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"