From 9e1b5f1115b5ae337129dfc5c97736d15c45d673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Wed, 16 Jan 2019 12:45:45 +0100 Subject: [PATCH] gitolite: change patchPhase to postPatch Overriding patchPhase is bad practice, it prevents customizing the package with "patches = []". --- pkgs/applications/version-management/gitolite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/gitolite/default.nix b/pkgs/applications/version-management/gitolite/default.nix index 0150c6021da6..734650448fda 100644 --- a/pkgs/applications/version-management/gitolite/default.nix +++ b/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"