nix3-nar - Man Page
create or inspect NAR files
Warning
This program is experimental and its interface is subject to change.
Synopsis
nix nar [option…] subcommand
where subcommand is one of the following:
nix nar cat- print the contents of a file inside a NAR file on stdoutnix 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 provides several subcommands for creating and inspecting Nix Archives (NARs).
File format
For the definition of the Nix Archive file format, see within the protocols chapter of the manual.
Options
Miscellaneous global options
--helpShow usage information.
--offlineDisable substituters and consider all previously downloaded files up-to-date.
--optionname valueSet the Nix configuration setting name to value (overriding
nix.conf).--refreshConsider all previously downloaded files out-of-date.
--versionShow version information.
Note
See
man nix.conffor overriding configuration settings with command line flags.