16struct ExtraPathInfoFlake : ExtraPathInfoValue
29 : ExtraPathInfoValue(std::move(v)), flake(f)
33struct InstallableFlake : InstallableValue
40 mutable std::shared_ptr<flake::LockedFlake> _lockedFlake;
46 std::string_view fragment,
52 std::string
what()
const override {
return flakeRef.to_string() +
"#" + *attrPaths.begin(); }
54 std::vector<std::string> getActualAttrPaths();
58 std::pair<Value *, PosIdx> toValue(
EvalState & state)
override;
66 std::shared_ptr<flake::LockedFlake> getLockedFlake(
EvalState & state)
const;
79static inline FlakeRef defaultNixpkgsFlakeRef()
81 return FlakeRef::fromAttrs({{
"type",
"indirect"}, {
"id",
"nixpkgs"}});
86 std::shared_ptr<flake::LockedFlake> lockedFlake);
Definition eval-cache.hh:25
std::vector< DerivedPathWithInfo > DerivedPathsWithInfo
Definition installables.hh:93
Definition outputs-spec.hh:97
Definition flakeref.hh:35
std::string what() const override
Definition installable-flake.hh:52
DerivedPathsWithInfo toDerivedPaths(EvalState &state) override
Definition installable-flake.cc:61
std::vector< ref< eval_cache::AttrCursor > > getCursors(EvalState &state) override
Definition installable-flake.cc:145
Definition command.hh:112