Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
A global manifest containing only registry
and options
fields.
More...
#include <manifest.hh>
Public Types | |
using | rawType = RawType |
Public Member Functions | |
ManifestBase (const ManifestBase &)=default | |
ManifestBase (ManifestBase &&) noexcept=default | |
ManifestBase (RawType raw) | |
ManifestBase (const std::filesystem::path &manifestPath) | |
ManifestBase & | operator= (const ManifestBase &)=default |
ManifestBase & | operator= (ManifestBase &&) noexcept=default |
const RawType & | getManifestRaw () const |
const RegistryRaw & | getRegistryRaw () const |
RegistryRaw | getLockedRegistry (const nix::ref< nix::Store > &store=NixStoreMixin().getStore()) const |
std::vector< System > | getSystems () const |
Get the list of systems requested by the manifest. | |
pkgdb::PkgQueryArgs | getBaseQueryArgs () const |
Protected Member Functions | |
template<manifest_raw_type _RawType = RawType> | |
std::enable_if< std::derived_from< _RawType, GlobalManifestRaw >, void >::type | initRegistry () |
Initialize registryRaw from manifestRaw. | |
template<manifest_raw_type _RawType = RawType> | |
std::enable_if< std::derived_from< _RawType, GlobalManifestRawGA >, void >::type | initRegistry () |
Initialize registryRaw from manifestRaw. | |
Protected Attributes | |
RawType | manifestRaw |
RegistryRaw | registryRaw |
A global manifest containing only registry
and options
fields.
This is intended for use outside of any particular project to supply inputs for flox search
, flox show
, and similar commands.
In the context of a project this file may be referenced, but its contents will always yield priority to the project's own manifest, and in cases where settings or inputs are not declared in a project, they may be automatically added from the global manifest.