gitolite: change patchPhase to postPatch
Overriding patchPhase is bad practice, it prevents customizing the package with "patches = []".
This commit is contained in:
parent
2f925345a2
commit
9e1b5f1115
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
patchPhase = ''
|
postPatch = ''
|
||||||
substituteInPlace ./install --replace " 2>/dev/null" ""
|
substituteInPlace ./install --replace " 2>/dev/null" ""
|
||||||
substituteInPlace src/lib/Gitolite/Hooks/PostUpdate.pm \
|
substituteInPlace src/lib/Gitolite/Hooks/PostUpdate.pm \
|
||||||
--replace /usr/bin/perl "${perl}/bin/perl"
|
--replace /usr/bin/perl "${perl}/bin/perl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user