1#include "nixd-config.h"
11 std::unique_ptr<lspserver::OutboundPort> Out)
27 if (
const char *
Env = std::getenv(
"NIXD_ATTRSET_EVAL"))
33 : Proc(
Action), Client(Proc.mkIn(), Proc.mkOut()),
34 Input([
this]() { Client.
run(); }) {}
AttrSetClient * client()
Check if the process is still alive.
AttrSetClientProc(const std::function< int()> &Action)
static const char * getExe()
AttrSetClient(std::unique_ptr< lspserver::InboundPort > In, std::unique_ptr< lspserver::OutboundPort > Out)
Whether current platform treats paths case insensitively.
constexpr std::string_view Exit
constexpr std::string_view EvalExpr
constexpr std::string_view OptionInfo
constexpr std::string_view AttrPathInfo
constexpr std::string_view OptionComplete
constexpr std::string_view AttrPathComplete
bool fromJSON(const llvm::json::Value &Params, Configuration::Diagnostic &R, llvm::json::Path P)
util::PipedProc & proc() const