diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-23 21:10:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 21:10:32 +0100 |
commit | a93916b1905cd7b968e92cd94a3e4a595bff2e0f (patch) | |
tree | 178e04a23a35b9a4ede224bdcb903e75c188a304 /src/nix/nar-dump-path.md | |
parent | 8927cba62f5afb33b01016d5c4f7f8b7d0adde3c (diff) | |
parent | 5178211e963fa111f84c4881b22cc506d5254fde (diff) |
Merge pull request #4336 from NixOS/manpages
Documentation for nix subcommands
Diffstat (limited to 'src/nix/nar-dump-path.md')
-rw-r--r-- | src/nix/nar-dump-path.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/nix/nar-dump-path.md b/src/nix/nar-dump-path.md new file mode 100644 index 000000000..26191ad25 --- /dev/null +++ b/src/nix/nar-dump-path.md @@ -0,0 +1,17 @@ +R""( + +# Examples + +* To serialise directory `foo` as a NAR: + + ```console + # nix nar dump-path ./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. + +)"" |