nix3-registry-resolve - Man Page
resolve flake references using the registry
Warning
This program is experimental and its interface is subject to change.
Synopsis
nix registry resolve [option…] flake-refs…
Examples
- Resolve the
nixpkgsandblender-binflakerefs:
# nix registry resolve nixpkgs blender-bin github:NixOS/nixpkgs/nixpkgs-unstable github:edolstra/nix-warez?dir=blender
- Resolve an indirect flakeref with a branch override:
# nix registry resolve nixpkgs/25.05 github:NixOS/nixpkgs/25.05
Description
This command resolves indirect flakerefs (e.g. nixpkgs) to direct flakerefs (e.g. github:NixOS/nixpkgs) using the flake registries. It looks up each provided flakeref in all available registries (flag, user, system, and global) and returns the resolved direct flakeref on a separate line on standard output. It does not fetch any flakes.
The resolution process may apply multiple redirections if necessary until a direct flakeref is found. If an indirect flakeref cannot be found in any registry, an error will be thrown.
See the nix registry manual page for more details on the registry.
Options
Miscellaneous global options
--helpShow usage information.
--offlineDisable substituters and consider all previously downloaded files up-to-date.
--optionname valueSet the Nix configuration setting name to value (overriding
nix.conf).--refreshConsider all previously downloaded files out-of-date.
--versionShow version information.
Note
See
man nix.conffor overriding configuration settings with command line flags.