Skill
nix-packaging
从零把一个上游软件打包成 Nix 表达式——按来源类型分流(GitHub 源码 / npm / Rust / 预编译二进制 / Gitea)、hash 的两段式获取(fakeHash → 读取 got → 回填 → 再构建验收)、vendored lock 的生成、wrapper 何时需要、四层验收(求值 / 真实构建 / 产物 / 运行),以及本仓(NixKits)的约定与六条实测陷阱。适用于「这个软件还没有包」的第一步,不覆盖「已有包的版本更新」(那在 nix-flake-update-check)与「提交上游」(那在 upstream-audit)。
Bundled with NixKits. Its trust score, security findings and other files are on the plugin page.
SKILL.md
- Path
- skills/nix-packaging/SKILL.md
- Size
- 5.9 KB
- SHA-256
- 461762035e261a702cc72569dcf9b68791b8d74bebe7f3797e1dbe258124980a
Install
Install the plugin's skills with the Skills CLI:
npx [email protected] add Kihara777/NixKits