nix3-nar-ls - Man Page

show information about a path inside a NAR file

Warning
This program is experimental and its interface is subject to change.

Synopsis

nix nar ls [option…] nar path

Examples

# nix nar ls --long ./hello.nar /bin/hello
-r-xr-xr-x                38184 hello
# nix nar ls --json --recursive ./hello.nar /bin
{"type":"directory","entries":{"hello":{"type":"regular","size":38184,"executable":true,"narOffset":400}}}

Description

This command shows information about a path inside Nix Archive (NAR) file nar.

Options

            See `--pretty`.
            Default: indent if output is to a terminal.

            This option is only effective when `--json` is also specified.

Miscellaneous global options

  • --help

    Show usage information.

  • --offline

    Disable substituters and consider all previously downloaded files up-to-date.

  • --option name value

    Set the Nix configuration setting name to value (overriding nix.conf).

  • --refresh

    Consider all previously downloaded files out-of-date.

  • --version

    Show version information.

    Note

    See man nix.conf for overriding configuration settings with command line flags.