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:
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"
|
||||
|
|
Loading…
Reference in a new issue