Repository navigation
hunk: 0.21.1 -> 0.22.0 - #567355
hunk: 0.21.1 -> 0.22.0#567355
Conversation
Upstream moved the app into `packages/hunk`. Build and install skills from the new paths, and replace the `paths.ts` patch with a `$out/skills` symlink that `hunk skill path` already resolves. Signed-off-by: kaynetik <aleksandar@nesovic.dev>
|
And just one tiny personal note on this package, from what I've followed this was the 6th time there was a breaking change in how the upstream is dealing with skills & packaging. FMPOV they are vibecoding a bit too much. 😂 |
✅
|
✅
|
drupol
left a comment
There was a problem hiding this comment.
Approved automatically following the successful run of nixpkgs-review.
Update
hunkfrom 0.21.1 to 0.22.0.The automated bump failed in
postPatch(nixpkgs-update log):Upstream v0.22.0 turned the repository into a Bun workspace (modem-dev/hunk#997). The app, its entry points and its shipped skills now live under
packages/hunk. The rootskills/directory only holds maintainer skills, which are not shipped.Changes:
packages/hunk/src/main.tsxandpackages/hunk/src/highlightWorkerEntry.ts, the same entry points as upstream'sscripts/build/build-bin.ts.packages/hunk/skills/*withinstallSkill.substituteInPlacepatch onpaths.ts.hunk skill pathsearches the directories above the executable forskills/<name>/SKILL.md, so a$out/skills -> share/skills/hunksymlink is enough and the sources stay unpatched. Upstream's ownnix/package.nixuses the same$out/skillslayout.--versioncheck, whichversionCheckHookalready covers.With these changes, routine version bumps only need the source and
node_moduleshash updates thatnixpkgs-updatealready makes.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.