Add missing runtime dependencies

This commit is contained in:
Sven van Heugten 2026-02-22 12:07:15 +01:00
parent 218f812012
commit 51c4e949bb
No known key found for this signature in database
GPG key ID: D612F88666F4F660

View file

@ -1,9 +1,13 @@
{
stdenv,
lib,
shellcheck-minimal,
git,
gnused,
bash,
bats,
shellcheck-minimal,
gitMinimal,
makeWrapper,
}:
let
@ -21,6 +25,10 @@ stdenv.mkDerivation {
];
};
nativeBuildInputs = [
makeWrapper
];
postPatch = ''
patchShebangs .
'';
@ -47,6 +55,13 @@ stdenv.mkDerivation {
mkdir -p $out/bin
cp $src/git-check-assertions $out/bin/git-check-assertions
chmod +x $out/bin/git-check-assertions
wrapProgram $out/bin/git-check-assertions --prefix PATH : ${
lib.makeBinPath [
bash
gitMinimal
gnused
]
}
'';
meta.mainProgram = "git-check-assertions";