Update a specific Nix flake input to its latest version. Use when asked to update a flake input, bump a dependency, or upgrade a specific package/input in the flake...
SKILL.md
Update Nix Flake Input
Update a specific flake input to its latest version, verify the build, and commit.
Workflow
Verify the input exists in flake.nix:
Read flake.nix and confirm the user-specified input name corresponds to an actual input. The user may refer to it by a partial name or alias - find the correct input name in the inputs attribute set.
Update flake.lock for the specified input:
nix flake update <input-name>
Build NixOS configuration to verify:
nixos-rebuild build --flake ".#torrent"
If the build fails, investigate and fix the issue before proceeding.