mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
Merge pull request #14549 from Alexis211/doc/fix-nar-format
doc: fix "Nix Archive (NAR) format" specification
This commit is contained in:
commit
c7f17358fc
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ nar-obj-inner
|
||||||
| str("type"), str("directory") directory
|
| str("type"), str("directory") directory
|
||||||
;
|
;
|
||||||
|
|
||||||
regular = [ str("executable") ], str("contents"), str(contents);
|
regular = [ str("executable"), str("") ], str("contents"), str(contents);
|
||||||
|
|
||||||
symlink = str("target"), str(target);
|
symlink = str("target"), str(target);
|
||||||
|
|
||||||
|
|
@ -52,4 +52,4 @@ The Nix Archive (NAR) format is also formally described using [Kaitai Struct](ht
|
||||||
{{#include nar.ksy}}
|
{{#include nar.ksy}}
|
||||||
```
|
```
|
||||||
|
|
||||||
The source of the spec can be found [here](https://github.com/nixos/nix/blob/master/src/nix-manual/source/protocols/nix-archive/nar.ksy). Contributions and improvements to the spec are welcomed.
|
The source of the spec can be found [here](https://github.com/nixos/nix/blob/master/src/nix-manual/source/protocols/nix-archive/nar.ksy). Contributions and improvements to the spec are welcomed.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue