Warning: This program is experimental and its interface is subject to change.
nix nar - create or inspect NAR files
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 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 provides several subcommands for creating and inspecting
Nix Archives (NARs).
For the definition of the NAR file format, see Figure 5.2 in https://edolstra.github.io/pubs/phd-thesis.pdf.