From 143b87c1a95e05e681c97f5d8aa010b18104b1d5 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Tue, 22 Jul 2025 20:00:00 -0400 Subject: [PATCH] Fix documentation of the NAR archive structure For regular, non-executable files, there is no str("") between str("regular") and str("contents"). Note that str("") is exactly 8 zero bytes, while just "" is actual empty string (0 bytes). --- doc/manual/source/protocols/nix-archive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/source/protocols/nix-archive.md b/doc/manual/source/protocols/nix-archive.md index 640b527f1..02a8dd464 100644 --- a/doc/manual/source/protocols/nix-archive.md +++ b/doc/manual/source/protocols/nix-archive.md @@ -24,7 +24,7 @@ nar-obj-inner | str("type"), str("directory") directory ; -regular = [ str("executable"), str("") ], str("contents"), str(contents); +regular = [ str("executable") ], str("contents"), str(contents); symlink = str("target"), str(target);