![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <derivation-builder.hh>
Public Member Functions | |
| BuildingStore (const std::string &storeDir) | |
| virtual std::filesystem::path | getRealStoreDir () const =0 |
| virtual std::filesystem::path | getBuildDir () const =0 |
| virtual const LocalSettings & | getLocalSettings () const =0 |
| virtual ref< Store > | makeRecursiveNixStore (RestrictionContext &ctx)=0 |
| std::filesystem::path | toRealPath (const StorePath &storePath) const |
| Public Member Functions inherited from nix::StoreDirConfig | |
| StorePath | parseStorePath (std::string_view path) const |
| StorePath | parseStorePathCanonical (std::string_view path) const |
| std::optional< StorePath > | maybeParseStorePath (std::string_view path) const |
| std::string | printStorePath (const StorePath &path) const |
| StringSet | printStorePathSet (const StorePathSet &path) const |
| std::size_t | maxCanonicalStorePathLen () const noexcept |
| bool | isInStore (std::string_view path) const |
| bool | isStorePath (std::string_view path) const |
| std::pair< StorePath, CanonPath > | toStorePath (std::string_view path) const |
| StorePath | makeStorePath (std::string_view type, std::string_view hash, std::string_view name) const |
| StorePath | makeStorePath (std::string_view type, const Hash &hash, std::string_view name) const |
| StorePath | makeOutputPath (std::string_view id, const Hash &hash, std::string_view name) const |
| StorePath | makeFixedOutputPath (std::string_view name, const FixedOutputInfo &info) const |
| StorePath | makeFixedOutputPathFromCA (std::string_view name, const ContentAddressWithReferences &ca) const |
| std::pair< StorePath, Hash > | computeStorePath (std::string_view name, const SourcePath &path, ContentAddressMethod method=ContentAddressMethod::Raw::NixArchive, HashAlgorithm hashAlgo=HashAlgorithm::SHA256, const StorePathSet &references={}, PathFilter &filter=defaultPathFilter) const |
Additional Inherited Members | |
| Public Attributes inherited from nix::StoreDirConfig | |
| const std::string & | storeDir |
This type exists to cut down Store to what DerivationBuilder actually needs. This serves two purposes:
|
pure virtual |
Make the store that recursive-Nix daemon connections talk to.