aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.cc
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-05-12 16:19:51 +0200
committerregnat <rg@regnat.ovh>2021-05-12 16:19:51 +0200
commitec613603ba324bf12f8f554d74fb1a02c6e9b472 (patch)
tree5fefc7964ba6ebe34ee0b3ad4be053c52434d8b4 /src/libcmd/command.cc
parent7f9759b18d786d26574bfaf3fa00f71402615ff8 (diff)
DerivedPathWithHints -> BuiltPath
Just a renaming for now
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r--src/libcmd/command.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc
index 9da470c15..25e4873e8 100644
--- a/src/libcmd/command.cc
+++ b/src/libcmd/command.cc
@@ -162,7 +162,7 @@ void MixProfile::updateProfile(const StorePath & storePath)
profile2, storePath));
}
-void MixProfile::updateProfile(const DerivedPathsWithHints & buildables)
+void MixProfile::updateProfile(const BuiltPaths & buildables)
{
if (!profile) return;
@@ -170,10 +170,10 @@ void MixProfile::updateProfile(const DerivedPathsWithHints & buildables)
for (auto & buildable : buildables) {
std::visit(overloaded {
- [&](DerivedPathWithHints::Opaque bo) {
+ [&](BuiltPath::Opaque bo) {
result.push_back(bo.path);
},
- [&](DerivedPathWithHints::Built bfd) {
+ [&](BuiltPath::Built bfd) {
for (auto & output : bfd.outputs) {
/* Output path should be known because we just tried to
build it. */