aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/installables.hh
diff options
context:
space:
mode:
authorEli Kogan-Wang <elikowa@gmail.com>2022-05-13 22:02:28 +0200
committerEli Kogan-Wang <elikowa@gmail.com>2022-05-13 22:02:28 +0200
commitbe2b19041eeec53fba24f7c2494f3f700a4ec595 (patch)
tree81aae651f6e300c5deb97feb68c8d1695b3fef3d /src/libcmd/installables.hh
parentaefc6c4f41bfac0c76807c234fd0a786dd40f140 (diff)
Integrate review changes
Diffstat (limited to 'src/libcmd/installables.hh')
-rw-r--r--src/libcmd/installables.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/installables.hh b/src/libcmd/installables.hh
index 1a5a96153..d7b61f1b8 100644
--- a/src/libcmd/installables.hh
+++ b/src/libcmd/installables.hh
@@ -142,6 +142,7 @@ struct InstallableValue : Installable
{
StorePath drvPath;
std::set<std::string> outputsToInstall;
+ std::optional<NixInt> priority;
};
virtual std::vector<DerivationInfo> toDerivations() = 0;
@@ -176,7 +177,7 @@ struct InstallableFlake : InstallableValue
Value * getFlakeOutputs(EvalState & state, const flake::LockedFlake & lockedFlake);
- std::tuple<std::string, FlakeRef, DerivationInfo> toDerivation();
+ std::tuple<std::string, FlakeRef, DerivationInfo, std::optional<NixInt>> toDerivation();
std::vector<DerivationInfo> toDerivations() override;