Skip to main content

Module flake

Module flake 

Source
Expand description

Nix flake.lock parsing and purity analysis

This module provides functionality to:

  • Parse flake.lock files (version 7 format)
  • Detect unlocked/impure flake inputs
  • Compute deterministic digests from locked inputs
  • Enforce purity modes (strict, warning, override)

Structs§

FlakeLock
Nix flake.lock file representation (version 7)
FlakeLockAnalyzer
Analyzer for flake.lock purity
FlakeNode
A node in the flake dependency graph
LockedInfo
Locked (pinned) version information for an input
OriginalInfo
Original (unpinned) input specification
PurityAnalysis
Result of flake.lock purity analysis
UnlockedInput
An input that is not properly locked

Enums§

FlakeLockError
Errors related to flake.lock parsing and purity analysis
InputRef
Reference to another input node
UnlockReason
Reasons why an input may be unlocked