Browse Source

gitolite: change patchPhase to postPatch

Overriding patchPhase is bad practice, it prevents customizing the
package with "patches = []".
nixos-19.03
Bjørn Forsman 3 years ago
parent
commit
9e1b5f1115
  1. 2
      pkgs/applications/version-management/gitolite/default.nix

2
pkgs/applications/version-management/gitolite/default.nix

@ -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…
Cancel
Save