Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
configuration.hh File Reference
#include <filesystem>
#include <map>
#include <set>
#include <nlohmann/json_fwd.hpp>
#include "nix/util/error.hh"
#include "nix/util/json-non-null.hh"
#include "nix/util/types.hh"
#include "nix/util/fmt.hh"
#include "nix/util/experimental-features.hh"

Go to the source code of this file.

Classes

class  nix::AbstractConfig
struct  nix::AbstractConfig::SettingInfo
class  nix::Config
struct  nix::Config::SettingData
class  nix::AbstractSetting
struct  nix::AbsolutePath
class  nix::BaseSetting< T >
class  nix::Setting< T >
class  nix::Setting< AbsolutePath >
struct  nix::ExperimentalFeatureSettings

Macros

#define NIX_DECLARE_CONFIG_SERIALISER(TY)

Functions

template<typename T>
std::ostream & nix::operator<< (std::ostream &str, const BaseSetting< T > &opt)
template<typename T>
bool nix::operator== (const T &v1, const BaseSetting< T > &v2)
template<class F, typename... Args>
void nix::formatHelper (F &f, const AbsolutePath &x, const Args &... args)=delete
template<class F, typename... Args>
void nix::formatHelper (F &f, const AbsolutePath &x)=delete
template<class F, typename... Args>
void nix::formatHelper (F &f, const Setting< AbsolutePath > &x, const Args &... args)=delete
template<class F, typename... Args>
void nix::formatHelper (F &f, const Setting< AbsolutePath > &x)=delete

Macro Definition Documentation

◆ NIX_DECLARE_CONFIG_SERIALISER

#define NIX_DECLARE_CONFIG_SERIALISER ( TY)
Value:
template<> \
TY BaseSetting<TY>::parse(const std::string & str) const; \
template<> \
std::string BaseSetting<TY>::to_string() const;