nix3-registry-resolve(1)

πŸ“¦ version 2.35.3, in fedora 44

πŸ’– nix3-registry-resolve(1) πŸ’–

okay bestie, you found the nix registry resolve page from the General Commands Manual and honestly? it's a tiny icon, a little MVP of a command, and we're gonna get you all the way caught up. no cap. 🫢

⚠️ Warning β€” bestie this program is experimental and its interface is subject to change. like, it might wake up one day with a whole new vibe. proceed with the awareness. πŸ’€

✨ Name ✨

nix registry resolve β€” resolve flake references using the registry πŸ¦‹


🌸 Synopsis 🌸

nix registry resolve [option…] flake-refs…

πŸŽ€ Examples πŸŽ€

  • Resolve the nixpkgs and blender-bin flakerefs:
# 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 πŸ’…

so here's the whole thing. this command takes indirect flakerefs (think: nixpkgs, cute lil nicknames) and resolves them into direct flakerefs (think: github:NixOS/nixpkgs, the actual full government name) using the flake registries. it's giving "who ARE you really" energy. πŸ‘‘

it looks up each flakeref you hand it in all available registries β€” flag, user, system, and global β€” and returns the resolved direct flakeref on a separate line on standard output. and important: it does not fetch any flakes. it's just doing intel work, no downloads, no dragging anyone's tarballs. ✨

the resolution process may apply multiple redirections if necessary until a direct flakeref is found β€” like a group chat forwarding chain until somebody actually answers fr fr. and 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. iykyk 🌈

⭐ Options ⭐

  • --debug β€” set the logging verbosity level to β€˜debug’. give me EVERYTHING. πŸ”
  • --log-format format β€” set the format of log output; one of raw, internal-json, bar or bar-with-logs.
  • --print-build-logs / -L β€” print full build logs on standard error.
  • --quiet β€” decrease the logging verbosity level. shhh. 🀫
  • --verbose / -v β€” increase the logging verbosity level. more. MORE. πŸ“’

🧚 Miscellaneous global options

  • --help β€” show usage information.
  • --offline β€” disable substituters and consider all previously downloaded files up-to-date.
  • --option name value β€” set the Nix configuration setting name to value (overriding nix.conf). main character override energy. πŸ‘‘
  • --refresh β€” consider all previously downloaded files out-of-date.
  • --version β€” show version information.
Note πŸ™ˆ β€” see man nix.conf for overriding configuration settings with command line flags.

and that's the whole page, bestie, no notes, 10/10, resolved. πŸ’–βœ¨πŸŽ€

later babes β€” this was nix3-registry-resolve(1) from the General Commands Manual, and yeah, that's the whole manual page, footer included. mwah. πŸ’…πŸ¦‹

πŸ“¦ where this page comes from