nix-super/src/nix/nar-dump-path.md
2023-11-14 20:02:33 +05:30

317 B

R""(

Examples

  • To serialise directory foo as a NAR:

    # nix nar pack ./foo > foo.nar
    

Description

This command generates a NAR file containing the serialisation of path, which must contain only regular files, directories and symbolic links. The NAR is written to standard output.

)""