diff --git a/pkgs/applications/version-management/git-and-tools/git-extras/default.nix b/pkgs/applications/version-management/git-and-tools/git-extras/default.nix index 387a1cb59c58..d57fe657517b 100644 --- a/pkgs/applications/version-management/git-and-tools/git-extras/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-extras/default.nix @@ -11,15 +11,21 @@ stdenv.mkDerivation rec { sha256 = "sha256-ACuTb1DGft2/32Ezg23jhpl9yua5kUTZ2kKL8KHU+BU="; }; - nativeBuildInputs = [ unixtools.column which ]; + postPatch = '' + patchShebangs check_dependencies.sh + ''; + + nativeBuildInputs = [ + unixtools.column + which + ]; dontBuild = true; - preInstall = '' - patchShebangs . - ''; - - installFlags = [ "PREFIX=${placeholder "out"}" ]; + installFlags = [ + "PREFIX=${placeholder "out"}" + "SYSCONFDIR=${placeholder "out"}/share" + ]; postInstall = '' # bash completion is already handled by make install