![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <worker-protocol.hh>
Static Public Member Functions | |
| template<typename T> | |
| static void | write (const StoreDirConfig &store, WriteConn conn, const T &t) |
Static Public Attributes | |
| static const Version | latest |
| static const Version | minimum |
| static const Version | builderRpcV0 |
| static constexpr std::string_view | featureRealisationWithPath = "realisation-with-path-not-hash" |
| static constexpr std::string_view | featureDeleteDeadSpecificReferrers = "delete-dead-specific-referrers" |
| static constexpr std::string_view | featureDisableSetOptions = "disable-set-options" |
| static constexpr std::string_view | featureAddToStoreScanning = "add-to-store-scanning" |
| static constexpr std::string_view | featureSubmitOutput = "submit-output" |
| static constexpr std::string_view | featureAddTempRoots = "addTempRoots" |
The "worker protocol", used by unix:// and ssh-ng:// stores.
This struct is basically just a namespace; We use a type rather than a namespace just so we can use it as a template argument.
|
inlinestatic |
Wrapper function around WorkerProto::Serialise<T>::write that allows us to infer the type instead of having to write it down explicitly.
|
static |
Static version for the builder-rpc-v0 feature. Should never change, as any modification would be derivation-visible.
|
staticconstexpr |
Feature for enabling the AddToStoreScanning operation
|
staticconstexpr |
Feature for garbage collecting a specific set of paths and deleting referrers.
|
staticconstexpr |
Feature for disabling SetOptions, which is a no-op in recursive-nix
|
staticconstexpr |
Feature for transmitting UnkeyedRealisation and DrvOutput using drvPath (store path) instead of the old hash-based JSON format.
|
staticconstexpr |
Feature for enabling the SubmitOutput operation
|
static |
|
static |