9#include "lix/libutil/json-fwd.hh"
29 std::string to_string()
const;
32constexpr int DEFAULT_PRIORITY = 5;
36 StorePathSet storePaths;
37 std::optional<ProfileElementSource> source;
39 NixInt::Inner priority = DEFAULT_PRIORITY;
41 std::string identifier()
const;
49 std::string versions()
const;
58 std::map<std::string, ProfileElement> elements;
64 JSON toJSON(
Store & store)
const;
66 kj::Promise<Result<StorePath>> build(
ref<Store> store);
68 void addElement(std::string_view nameCandidate,
ProfileElement element);
74DrvInfos queryInstalled(
EvalState & state,
const Path & userEnv);
75std::string showVersions(
const std::set<std::string> & versions);
Definition store-api.hh:195
Definition outputs-spec.hh:97
Definition flakeref.hh:38
Definition cmd-profiles.hh:20
Definition cmd-profiles.hh:35
std::set< std::string > toInstallables(Store &store)
Definition cmd-profiles.cc:63
Definition cmd-profiles.hh:57
std::string Path
Definition types.hh:28
, for some hueristic-ish URL parsing.