aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/installables.hh
diff options
context:
space:
mode:
authorpennae <82953136+pennae@users.noreply.github.com>2022-05-25 11:55:13 +0000
committerGitHub <noreply@github.com>2022-05-25 11:55:13 +0000
commitb092afe77d514ddbab02e20f8adf0acc58fa4aaf (patch)
tree13e9942f85a507525047d246ebd12ffaa3c813ac /src/libcmd/installables.hh
parentd6d6bbd9ef1eed6443165866cd7bd27faa9586a1 (diff)
parent09e55010f9c7d0e60d7c97d1881cc696df3644ae (diff)
Merge branch 'master' into lto
Diffstat (limited to 'src/libcmd/installables.hh')
-rw-r--r--src/libcmd/installables.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcmd/installables.hh b/src/libcmd/installables.hh
index de8b08525..5d715210e 100644
--- a/src/libcmd/installables.hh
+++ b/src/libcmd/installables.hh
@@ -141,7 +141,8 @@ struct InstallableValue : Installable
struct DerivationInfo
{
StorePath drvPath;
- std::string outputName;
+ std::set<std::string> outputsToInstall;
+ std::optional<NixInt> priority;
};
virtual std::vector<DerivationInfo> toDerivations() = 0;
@@ -156,6 +157,7 @@ struct InstallableFlake : InstallableValue
FlakeRef flakeRef;
Strings attrPaths;
Strings prefixes;
+ OutputsSpec outputsSpec;
const flake::LockFlags & lockFlags;
mutable std::shared_ptr<flake::LockedFlake> _lockedFlake;
@@ -164,6 +166,7 @@ struct InstallableFlake : InstallableValue
ref<EvalState> state,
FlakeRef && flakeRef,
std::string_view fragment,
+ OutputsSpec outputsSpec,
Strings attrPaths,
Strings prefixes,
const flake::LockFlags & lockFlags);