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:

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

  • --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.