From 2ba1c12598a73d896b0fc6c202d04f3c630fecaa Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 5 Mar 2022 01:25:52 +0100 Subject: [PATCH] use InstallableValue::DerivationInfo --- src/libcmd/installables.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index 0a6fae313..125919623 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -539,7 +539,7 @@ std::vector InstallableAttrPath::toDerivations DrvInfos drvInfos; getDerivations(*state, *v, "", autoArgs, drvInfos, false); - std::vector res; + std::vector res; for (auto & drvInfo : drvInfos) { auto drvPath = drvInfo.queryDrvPath(); if (!drvPath) @@ -677,7 +677,7 @@ std::tuple toDerivation auto drvPath = attr->forceDerivation(); - auto drvInfo = DerivationInfo { + auto drvInfo = InstallableValue::DerivationInfo { std::move(drvPath), attr->getAttr(flake.state->sOutputName)->getString() }; @@ -713,7 +713,7 @@ std::tuple InstallableF std::vector InstallableFlake::toDerivations() { - std::vector res; + std::vector res; res.push_back(std::get<2>(toDerivation())); return res; }