mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 00:32:28 +00: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
@ -29,7 +29,7 @@ regular = [ str("executable"), str("") ], str("contents"), str(contents);
|
||||
symlink = str("target"), str(target);
|
||||
|
||||
(* 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(")");
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user