git-extras: move bash completion under share, patch less files

This commit is contained in:
Sandro Jäckel 2021-09-28 17:57:29 +02:00
parent e3b5143614
commit d433cd1ff9

View File

@ -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