mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
doc: fix directory
definition in nix-archive.md (#10997)
* doc: fix `directory` definition in nix-archive.md Before the change the document implied that directory of a single entry contained entry: "type" "directory" "type" directory" "entry" ... After the change document should expand into: "type" "directory" "entry" ... Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
c74b5aa3e0
commit
5a16bf86c5
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ regular = [ str("executable"), str("") ], str("contents"), str(contents);
|
||||||
symlink = str("target"), str(target);
|
symlink = str("target"), str(target);
|
||||||
|
|
||||||
(* side condition: directory entries must be ordered by their names *)
|
(* side condition: directory entries must be ordered by their names *)
|
||||||
directory = str("type"), str("directory") { directory-entry };
|
directory = { directory-entry };
|
||||||
|
|
||||||
directory-entry = str("entry"), str("("), str("name"), str(name), str("node"), nar-obj, str(")");
|
directory-entry = str("entry"), str("("), str("name"), str(name), str("node"), nar-obj, str(")");
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue