1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-16 15:58:36 +00:00

Merge pull request #139775 from SuperSandro2000/git-extras

git-extras: move bash completion under share, patch less files
This commit is contained in:
Sandro 2021-09-29 10:17:10 +02:00 committed by GitHub
commit 455a8e0569
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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