Public Member Functions | |
InstallableFlake (SourceExprCommand *cmd, ref< EvalState > state, FlakeRef &&flakeRef, std::string_view fragment, ExtendedOutputsSpec extendedOutputsSpec, Strings attrPaths, Strings prefixes, const flake::LockFlags &lockFlags) | |
std::string | what () const override |
std::vector< std::string > | getActualAttrPaths () |
DerivedPathsWithInfo | toDerivedPaths () override |
std::pair< Value *, PosIdx > | toValue (EvalState &state) override |
std::vector< ref< eval_cache::AttrCursor > > | getCursors (EvalState &state) override |
std::shared_ptr< flake::LockedFlake > | getLockedFlake () const |
FlakeRef | nixpkgsFlakeRef () const |
![]() | |
InstallableValue (ref< EvalState > state) | |
virtual ref< eval_cache::AttrCursor > | getCursor (EvalState &state) |
UnresolvedApp | toApp (EvalState &state) |
![]() | |
DerivedPathWithInfo | toDerivedPath () |
virtual std::optional< StorePath > | getStorePath () |
Public Attributes | |
FlakeRef | flakeRef |
Strings | attrPaths |
Strings | prefixes |
ExtendedOutputsSpec | extendedOutputsSpec |
const flake::LockFlags & | lockFlags |
std::shared_ptr< flake::LockedFlake > | _lockedFlake |
![]() | |
ref< EvalState > | state |
Additional Inherited Members | |
![]() | |
static InstallableValue & | require (Installable &installable) |
static ref< InstallableValue > | require (ref< Installable > installable) |
![]() | |
static std::vector< BuiltPathWithResult > | build (ref< Store > evalStore, ref< Store > store, Realise mode, const Installables &installables, BuildMode bMode=bmNormal) |
static std::vector< std::pair< ref< Installable >, BuiltPathWithResult > > | build2 (ref< Store > evalStore, ref< Store > store, Realise mode, const Installables &installables, BuildMode bMode=bmNormal) |
static std::set< StorePath > | toStorePathSet (ref< Store > evalStore, ref< Store > store, Realise mode, OperateOn operateOn, const Installables &installables) |
static std::vector< StorePath > | toStorePaths (ref< Store > evalStore, ref< Store > store, Realise mode, OperateOn operateOn, const Installables &installables) |
static StorePath | toStorePath (ref< Store > evalStore, ref< Store > store, Realise mode, OperateOn operateOn, ref< Installable > installable) |
static std::set< StorePath > | toDerivations (ref< Store > store, const Installables &installables, bool useDeriver=false) |
static BuiltPaths | toBuiltPaths (ref< Store > evalStore, ref< Store > store, Realise mode, OperateOn operateOn, const Installables &installables) |
![]() | |
std::optional< DerivedPathWithInfo > | trySinglePathToDerivedPaths (Value &v, const PosIdx pos, std::string_view errorCtx) |
|
overridevirtual |
Get a cursor to every attrpath in getActualAttrPaths() that exists. However if none exists, throw an exception.
Reimplemented from nix::InstallableValue.
|
overridevirtual |
Get the collection of derived pathswith info" that this Installable instalallable denotes.
This is the main method of this class
Implements nix::Installable.
Implements nix::InstallableValue.
|
inlineoverridevirtual |
What Installable is this?
Prints back valid CLI syntax that would result in this same installable. It doesn't need to be exactly what the user wrote, just something that means the same thing.
Implements nix::Installable.