Get desktop application:
View/edit binary Protocol Buffers messages
store path hash as nix32 (base of .narinfo file in nix cache)
manifest cache key
Used in:
for ci build
for ci build
for build of charon itself
for on-demand manifest
for on-demand manifest
Parameters that can be used to configure a styx daemon.
Used in:
URL for manifester service, chunk reads, and chunk diffs.
Size to shard manifest. If missing, daemon uses a default.
key: "image" / <store path hash (nix base32)> value:
full store path including name
which upstream this was from
system id from syschecker
is it mounted and where?
size of erofs image
nar size, if known
key: "meta" / "params"
Mostly modeled on nar Header
Used in:
,Path of the entry, relative inside the NAR
File type (regular/directory/symlink)
Logical file size in bytes (only for REGULAR)
Set to true for files that are executable
For REGULAR and SYMLINK: If size <= small_file_cutoff || type == SYMLINK, full data is here:
Otherwise, this is a series of concatenated digests, one per chunk:
Number of bytes per digest (default: 24)
Chunk size = 1 << chunk_shift (default: 16)
Debug data (only in debug output, not on network or db)
Used in:
Parameters that have to be agreed on by manifester and daemon.
Used in:
, ,Digest algorithm, e.g. "sha256"
Bits of digest used, e.g. 192
build parameters
Metadata on how this was generated
Used in:
meta info for what this manifest was generated from
url that narinfo was fetched from
parsed narinfo (includes references, signatures, etc.)
software version of generator
timestamp when this was generated (unix seconds)
Used in:
initial value
requested but not mounted yet
mounted
got error mounting
was mounted then requested unmount
unmounted
deleted (not used now)
not mounted but copied out to fs
from github.com/nix-community/go-nix pkg/narinfo/types.go
Used in:
The full nix store path (/nix/store/…-pname-version)
The relative location to the .nar[.xz,…] file. Usually nar/$fileHash.nar[.xz]
The compression method file at URL is compressed with (none,xz,…)
The hash of the file at URL (nix string format)
The size of the file at URL, in bytes
The hash of the .nar file, after possible decompression (nix string format) Identical to FileHash if no compression is used.
The size of the .nar file, after possible decompression, in bytes. Identical to FileSize if no compression is used.
References to other store paths, contained in the .nar file
Path of the .drv for this store path
This doesn't seem to be used at all?
Signatures, if any.
Params for hashing/chunking contained data, and also used for signature.
Single entry representing contained data. Type must be REGULAR. Path should represent message type and context.
These should be the same length: