nix3-nar-cat(1)

πŸ‘‘ nix3-nar-cat(1) πŸ‘‘

okay so this is from the General Commands Manual, and bestie, it's a whole vibe. grab a snack, we're reading a manpage together and it's gonna be fun, i promise πŸ“

⚠️ Warning β€” this program is experimental and its interface is subject to change. like, it might wake up one day and decide to be a different program. do not build your entire personality around it. πŸ’€

✨ Name ✨

nix nar cat β€” print the contents of a file inside a NAR file on stdout. that's it. that's the whole job. she's simple, she's iconic, she does one thing. πŸ‘‘

NAR means Nix Archive, btw. iykyk. 🌈


🌸 Synopsis 🌸

nix nar cat [option…] nar path

so it's nix nar cat, then whatever options you're feeling, then the nar file, then the path inside it. order matters bestie, don't freestyle it. πŸ’…


🫢 Examples 🫢

  • List a file in a Nix Archive (NAR) and pipe it through gunzip:
# nix nar cat ./hello.nar /share/man/man1/hello.1.gz | gunzip
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.4.
.TH HELLO "1" "November 2014" "hello 2.10" "User Commands"
…

the | gunzip is doing so much heavy lifting there and she ate. πŸ”₯


πŸ¦‹ Description πŸ¦‹

This command prints on standard output the contents of the regular file path inside the NAR file nar. πŸŽ€

that's literally the entire description. no plot twist, no secret second meaning. she said what she said. ✨


πŸŽ€ Options πŸŽ€

  • --debug β€” Set the logging verbosity level to β€˜debug’. (yes the quotes are singles and they're curly, i don't make the rules β€” maximum chatter mode, she will tell you EVERYTHING 🌸)
  • --log-format format β€” Set 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.
  • --quiet β€” Decrease the logging verbosity level. shhh. 🀫
  • --verbose / -v β€” Increase the logging verbosity level. talk to me more actually πŸ—£οΈ

🧚 Miscellaneous global options

  • --help β€” Show usage information. when in doubt, ask her directly. 🫢
  • --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). the main character override. πŸ‘‘
  • --refresh β€” Consider all previously downloaded files out-of-date. the opposite of --offline, she's keeping receipts. πŸ”₯
  • --version β€” Show version information.
Note β€” See man nix.conf for overriding configuration settings with command line flags. go read her too, she's the source of truth. πŸ’–

no cap, that's the whole page. go forth and cat your NARs, you're gonna be so good at this. πŸ’…πŸŒˆ

this was nix3-nar-cat(1) from the General Commands Manual β€” sending you love, mwah, bye bestie πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from