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 π
πͺ΅ Logging-related 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-formatformat β Set the format of log output; one ofraw,internal-json,barorbar-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 βοΈ--optionname value β Set the Nix configuration settingnametovalue(overridingnix.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
- fedora 44: nix-core 2.35.3-2.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms