mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
hunk: drop redundant skill install-check
Signed-off-by: kaynetik <aleksandar@nesovic.dev>
This commit is contained in:
@@ -110,8 +110,8 @@ stdenv.mkDerivation {
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 hunk $out/bin/hunk
|
||||
mkdir -p $out/share/skills
|
||||
cp -R skills $out/share/skills/$pname
|
||||
mkdir -p $out/share/skills/$pname/hunk-review
|
||||
cp skills/hunk-review/SKILL.md $out/share/skills/$pname/hunk-review/SKILL.md
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
@@ -130,7 +130,6 @@ stdenv.mkDerivation {
|
||||
runHook preInstallCheck
|
||||
|
||||
$out/bin/hunk --version | grep -F ${version}
|
||||
test -f $out/share/skills/$pname/hunk-review/SKILL.md
|
||||
test -f "$($out/bin/hunk skill path)"
|
||||
|
||||
runHook postInstallCheck
|
||||
|
||||
Reference in New Issue
Block a user