一键导入
nix-pinned-package
Install and maintain pinned Nix packages from fixed upstream versions in a nix-update-friendly way.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install and maintain pinned Nix packages from fixed upstream versions in a nix-update-friendly way.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Workflow for managing and browsing reference projects — cloned third-party repos kept locally in references/ for comparison. Load when the user asks to compare with references, add/update a reference, or look at how other projects handle something. Trigger phrases include "compare with references", "compare with others", "reference projects", "add a reference", "update references", "how do others do".
Compare Noctalia JSON exports against local and upstream defaults before updating `modules/noctalia/noctalia.nix`.
Maintains `INVESTIGATION_COMMANDS.md` for this nixfiles repo by collecting reusable Nix-centric shell command patterns from the current session, merging duplicates, normalizing commands into reusable templates, and keeping `README.md` linked to the reference. Use when a session in this repo involves meaningful Nix investigation, evaluation, validation, or runtime checks that can recur across multiple tasks.
| name | nix-pinned-package |
| description | Install and maintain pinned Nix packages from fixed upstream versions in a nix-update-friendly way. |
| compatibility | opencode |
| metadata | {"workflow":"nix-update","scope":"repo"} |
Use this when the user wants to install something declaratively, but it must stay pinned to a specific upstream version, tarball, AppImage, npm artifact, or similar fixed-output source.
packages/<name>.nix.nix-update --flake to manage it.nix-update cannot safely follow the version path.pname, version, source URL, hash, wrapper, and metadata.passthru fields from the package instead of duplicating version data.nix-update over hand-editing hashes.passthru.updateScript.nix-update --flake --use-update-script <name> when the package is exposed as a flake output.flake.packages, make sure the flake pkgs instance allows unfree packages.Run:
nix build .#<name>nix run github:Mic92/nix-update -- --flake --use-update-script <name>npm -g.nix-update can do the job cleanly.