Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
flox::resolver::GAEnvironmentMixin Class Reference
Inheritance diagram for flox::resolver::GAEnvironmentMixin:
flox::resolver::LockCommand flox::resolver::RegistryCommand flox::resolver::UpdateCommand flox::search::SearchCommand

Public Member Functions

argparse::Argument & addGARegistryOption (argparse::ArgumentParser &parser)
 Hard codes a manifest with only github:NixOS/nixpkgs/release-23.05 with --ga-registry.
 

Protected Member Functions

GlobalManifest initGlobalManifest (GlobalManifestRaw manifestRaw) override
 Initialize the globalManifest member variable. When --ga-registry is set it enforces a GA compliant manifest by disallowing registry in its input, and injects a hard coded registry.
 
EnvironmentManifest initManifest (ManifestRaw manifestRaw) override
 Initialize the manifest member variable. When --ga-registry is set it enforces a GA compliant manifest by disallowing registry in its input, and injects a hard coded registry.
 

Private Attributes

bool gaRegistry = false
 

Member Function Documentation

◆ addGARegistryOption()

argparse::Argument & flox::resolver::GAEnvironmentMixin::addGARegistryOption ( argparse::ArgumentParser &  parser)

Hard codes a manifest with only github:NixOS/nixpkgs/release-23.05 with --ga-registry.

Parameters
parserThe parser to add the argument to.
Returns
The argument added to the parser.

Member Data Documentation

◆ gaRegistry

bool flox::resolver::GAEnvironmentMixin::gaRegistry = false
private

Whether to override manifest registries for use with flox GA.


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