diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-09 19:21:48 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-21 13:32:28 +0100 |
commit | 2cc02bbe7675acb4754b928b5c57fa316600e877 (patch) | |
tree | cc5f5b2e9ad90b9aeb032e614c97bee0ba7b892c /src/nix/nar-dump-path.md | |
parent | a407d14339c2c480f0103a501bcd8a3373d935cb (diff) |
Add 'nix nar' manpages
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. + +)"" |