Crate nix_daemon

source ·
Expand description

§nix-daemon

This library exposes an interface for directly talking to a Nix daemon.

The Store protocol mirrors the interface of the latest protocol we support, and may receive breaking changes to keep up.

However, as the Nix Daemon protocol is forward compatible, and will negotiate the highest protocol version supported by both ends at connection time, there’s no pressure to upgrade; unless compatibility is broken upstream, an old version of this crate should in theory be able to talk to newer Nix until the end of time.

The nix module currently supports Protocol 1.35, and Nix 2.15+. Support for older versions will be added in the future (in particular, Protocol 1.21, used by Nix 2.3).

Modules§

  • Interfaces to nix-daemon (or compatible) Stores.

Structs§

Enums§

Traits§

Type Aliases§