activatables: fix for new types

This commit is contained in:
Max Headroom 2023-01-16 22:16:16 +01:00
parent 42ebd30030
commit 2165fe3ca6
2 changed files with 3 additions and 2 deletions

View file

@ -17,7 +17,7 @@ void ActivatableCommand::prepare() {
getEvalState(),
std::move(installableFlake->flakeRef),
activationPackageAttrPath == "" ? fragment : fragment + "." + activationPackageAttrPath,
installableFlake->outputsSpec,
installableFlake->extendedOutputsSpec,
getDefaultFlakeAttrPaths(),
getDefaultFlakeAttrPathPrefixes(),
installableFlake->lockFlags

View file

@ -42,7 +42,8 @@ void ActivatableBuildCommand<ActivatableCommand>::run(nix::ref<Store> store)
for (auto & i : installableContext) {
auto b = i->toDerivedPaths();
pathsToBuild.insert(pathsToBuild.end(), b.begin(), b.end());
for (auto & b : i->toDerivedPaths())
pathsToBuild.push_back(b.path);
}
printMissing(store, pathsToBuild, lvlError);
return;