nix3-nar(1)

πŸ’– nix3-nar(1) β€” the one where we mess with NAR files πŸ’–

okay bestie, before literally anything else, we need to have a little chat. this is from the General Commands Manual (nix3-nar(1), yes, that's the manual name, it's iconic), and:

⚠️ Warning β€” this program is experimental and its interface is subject to change. like, it might just reshape itself overnight. no cap. proceed with the awareness of a girl who reads the changelog. πŸ‘‘βœ¨

✨ Name ✨

nix nar β€” create or inspect NAR files πŸŽ€


🌸 Synopsis 🌸

nix nar [option…] subcommand

and where subcommand is one of the following, periodt:

  • nix nar cat β€” print the contents of a file inside a NAR file on stdout 🐱
  • nix nar dump-path β€” serialise a path to stdout in NAR format
  • nix nar ls β€” show information about a path inside a NAR file
  • nix nar pack β€” serialise a path to stdout in NAR format

πŸ¦‹ Description πŸ¦‹

nix nar hands you several subcommands for creating and inspecting Nix Archives (NARs). that's the whole vibe. make them, look at them, live your truth. πŸ’…

πŸ“ File format πŸ“

for the definition of the Nix Archive file format, see within the protocols chapter of the manual. iykyk β€” go read it, it's giving documentation. πŸ“–


πŸ’– Options πŸ’–

  • --debug β€” set the logging verbosity level to β€˜debug’. we are getting so much detail, bestie.
  • --log-format format β€” set the format of log output; one of raw, internal-json, bar or bar-with-logs. pick your aesthetic. ✨
  • --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. tell me EVERYTHING.

🧚 Miscellaneous global options

  • --help β€” show usage information. when in doubt, ask for help, queen.
  • --offline β€” disable substituters and consider all previously downloaded files up-to-date. we're going airplane mode, no thoughts head empty. ✈️
  • --option name value β€” set the Nix configuration setting name to value (overriding nix.conf).
  • --refresh β€” consider all previously downloaded files out-of-date. plot twist: everything's old again. πŸ’€
  • --version β€” show version information. who even am i? πŸͺž
πŸ“ Note β€” see man nix.conf for overriding configuration settings with command line flags.

okay that's the whole page, bestie, you ate it. 🫢 this was the nix3-nar(1) manual page from the General Commands Manual, and that footer up in your terminal was just repping its own name on the way out β€” <rainbow>stay experimental, stay iconic βœ¨πŸ‘‘πŸ’–

πŸ“¦ where this page comes from