Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
flox::resolver::ManifestBase< RawType > Class Template Reference

A global manifest containing only registry and options fields. More...

#include <manifest.hh>

Inheritance diagram for flox::resolver::ManifestBase< RawType >:
flox::resolver::EnvironmentManifestBase< ManifestRaw > flox::resolver::EnvironmentManifestBase< RawType > flox::resolver::GlobalManifestBase< RawType >

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)
 
ManifestBaseoperator= (const ManifestBase &)=default
 
ManifestBaseoperator= (ManifestBase &&) noexcept=default
 
const RawType & getManifestRaw () const
 
const RegistryRawgetRegistryRaw () const
 
RegistryRaw getLockedRegistry (const nix::ref< nix::Store > &store=NixStoreMixin().getStore()) const
 
std::vector< SystemgetSystems () 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
 

Detailed Description

template<manifest_raw_type RawType>
class flox::resolver::ManifestBase< RawType >

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.


The documentation for this class was generated from the following file: