Skip to main content

Crate nix_compat

Crate nix_compat 

Source

Re-exports§

pub use nix_daemon::worker_protocol;daemon

Modules§

aterm 🔒
derivation
derived_path
flakerefflakeref
log
Contains types Nix uses for its logging, visible in the “internal-json” log messages as well as in nix-daemon communication.
nar
narinfo
NAR info files describe a store path in a traditional Nix binary cache. Over the wire, they are formatted as “Key: value” pairs separated by newlines.
nix_daemondaemon
nix_http
nixbase32
Implements the slightly odd “base32” encoding that’s used in Nix.
nixcpp
Contains code parsing some of the Nixcpp config files etc. left by Nix on the local disk.
nixhash
path_info
realisation
store_path
structured_attrsserde
Contains the code rendering the shell script that’s used for structured attrs.
testtest
Test helpers
wirewire
Module parsing and emitting the wire format used by Nix, both in the nix-daemon protocol as well as in the NAR format.

Macros§

btree_maptest
Test helper to create a BTreeMap with keys and values that support FromStr
btree_settest
Test helper to create a BTreeSet with values that support FromStr
format_sha256
Analogous to std::format, but returning only the SHA-256 digest of the formatted string.
hash_settest
Test helper to create a HashSet with values that support FromStr