16struct ExtraPathInfoFlake : ExtraPathInfoValue
29 : ExtraPathInfoValue(std::move(v)), flake(std::move(
f))
33struct InstallableFlake : InstallableValue
39 const flake::LockFlags & lockFlags;
40 mutable std::shared_ptr<flake::LockedFlake> _lockedFlake;
46 std::string_view fragment,
50 const flake::LockFlags & lockFlags);
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;
64 std::vector<ref<eval_cache::AttrCursor>>
67 std::shared_ptr<flake::LockedFlake> getLockedFlake()
const;
69 FlakeRef nixpkgsFlakeRef()
const;
80static inline FlakeRef defaultNixpkgsFlakeRef()
82 return FlakeRef::fromAttrs(fetchSettings, {{
"type",
"indirect"}, {
"id",
"nixpkgs"}});
87 std::shared_ptr<flake::LockedFlake> lockedFlake);
std::vector< DerivedPathWithInfo > DerivedPathsWithInfo
Definition installables.hh:95
Definition outputs-spec.hh:96
std::string what() const override
Definition installable-flake.hh:52
DerivedPathsWithInfo toDerivedPaths() override
Definition installable-flake.cc:76
std::vector< ref< eval_cache::AttrCursor > > getCursors(EvalState &state) override
Definition installable-flake.cc:161
Definition command.hh:136