nix3-formatter(1)

πŸ“¦ version 2.35.3, in fedora 44

πŸ¦‹ NAME

okay so bestie, this is nix formatter β€” it builds or runs the formatter ✨

(also, hi, you're reading the nix3-formatter(1) page, from the General Commands Manual, and yeah she's cute, she's iconic, she's very much giving "I know exactly what I'm doing" πŸ’…)


⚠️ Warning ⚠️ this program is experimental and its interface is subject to change. like, don't get too attached to the syntax, she's still figuring herself out 😭

🌸 SYNOPSIS

nix formatter [option…] subcommand

where subcommand is one of the following:

  • nix formatter build β€” build the current flake's formatter πŸ—οΈ
  • nix formatter run β€” reformat your code in the standard style πŸ’–

✨ OPTIONS ✨

  • --debug β€” sets the logging verbosity level to debug. we're nosy today and we want everything πŸ”
  • --log-format format β€” sets the format of log output; one of raw, internal-json, bar or bar-with-logs. pick your aesthetic, bestie πŸŽ€
  • --print-build-logs, -L β€” print full build logs on standard error. no secrets here, we're oversharing πŸ’€
  • --quiet β€” decrease the logging verbosity level. shhh 🀫 she's in her mysterious era
  • --verbose, -v β€” increase the logging verbosity level. tell me MORE πŸ‘‘

🌈 Miscellaneous global options

  • --help β€” show usage information. the little "wait how do I use this" button πŸ₯Ί
  • --offline β€” disable substituters and consider all previously downloaded files up-to-date. airplane mode but make it Nix ✈️
  • --option name value β€” set the Nix configuration setting name to value (overriding nix.conf). you're the main character now, you make the rules πŸ‘‘
  • --refresh β€” consider all previously downloaded files out-of-date. glow-up time, everything's getting rechecked πŸ¦‹
  • --version β€” show version information. who is she? what era is she in? πŸ’…
πŸ“Œ Note β€” see man nix.conf for overriding configuration settings with command line flags. iykyk 🫢

and that's the whole page, bestie!! no cap, that's literally all of it πŸ§šπŸ’œ go forth and format your code in the standard style, you're gonna slay. fr fr ✨

signing off from the very bottom of this page β€” it's the nix3-formatter(1) footer, so really this is just her name again, one last time, like a little goodbye kiss πŸ’‹

πŸ“¦ where this page comes from