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 formatnix nar lsβ show information about a path inside a NAR filenix 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 π
π Logging-related options
--debugβ set the logging verbosity level to βdebugβ. we are getting so much detail, bestie.--log-formatformatβ set the format of log output; one ofraw,internal-json,barorbar-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. βοΈ--optionnamevalueβ set the Nix configuration settingnametovalue(overridingnix.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
- 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