Expand description
Native flake lock management — update, check, write.
Native flake lock management — update, check, and write flake.lock.
Provides update_input / update_all_inputs to resolve latest revisions
for locked flake inputs (replacing nix flake update), and check_flake
to validate a flake directory (replacing nix flake check).
Network-dependent operations (GitHub API, git ls-remote) are gated
behind the SUI_TEST_ONLINE=1 environment variable in tests.
Structs§
- Flake
Check Result - Result of validating a flake directory.
Enums§
- Flake
Lock Update Error - Errors that can occur during flake lock operations.
Functions§
- check_
flake - Validate a flake directory’s structure and lock file.
- get_
input_ rev - Get the locked revision for a specific input.
- list_
inputs - List all root-level input names from a flake.lock.
- update_
all_ inputs - Update all root-level inputs in a
flake.lockfile. - update_
input - Update a single input in a
flake.lockfile to its latest revision.