9#include "lix/libutil/json-fwd.hh"
27 std::string to_string()
const;
30constexpr int DEFAULT_PRIORITY = 5;
34 StorePathSet storePaths;
35 std::optional<ProfileElementSource> source;
37 NixInt::Inner priority = DEFAULT_PRIORITY;
39 std::string identifier()
const;
47 std::string versions()
const;
56 std::map<std::string, ProfileElement> elements;
62 JSON toJSON(
Store & store)
const;
64 kj::Promise<Result<StorePath>> build(
ref<Store> store);
66 void addElement(std::string_view nameCandidate,
ProfileElement element);
69 static void printDiff(
const ProfileManifest & prev,
const ProfileManifest & cur, std::string_view indent);
72DrvInfos queryInstalled(
EvalState & state,
const Path & userEnv);
73std::string showVersions(
const std::set<std::string> & versions);
Definition store-api.hh:195
Definition outputs-spec.hh:97
Definition flakeref.hh:35
Definition cmd-profiles.hh:18
Definition cmd-profiles.hh:33
std::set< std::string > toInstallables(Store &store)
Definition cmd-profiles.cc:63
std::string Path
Definition types.hh:28