mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-08 19:27:18 +02:00
activatables: fix for new types
This commit is contained in:
parent
42ebd30030
commit
2165fe3ca6
2 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,7 @@ void ActivatableCommand::prepare() {
|
||||||
getEvalState(),
|
getEvalState(),
|
||||||
std::move(installableFlake->flakeRef),
|
std::move(installableFlake->flakeRef),
|
||||||
activationPackageAttrPath == "" ? fragment : fragment + "." + activationPackageAttrPath,
|
activationPackageAttrPath == "" ? fragment : fragment + "." + activationPackageAttrPath,
|
||||||
installableFlake->outputsSpec,
|
installableFlake->extendedOutputsSpec,
|
||||||
getDefaultFlakeAttrPaths(),
|
getDefaultFlakeAttrPaths(),
|
||||||
getDefaultFlakeAttrPathPrefixes(),
|
getDefaultFlakeAttrPathPrefixes(),
|
||||||
installableFlake->lockFlags
|
installableFlake->lockFlags
|
||||||
|
|
|
@ -42,7 +42,8 @@ void ActivatableBuildCommand<ActivatableCommand>::run(nix::ref<Store> store)
|
||||||
|
|
||||||
for (auto & i : installableContext) {
|
for (auto & i : installableContext) {
|
||||||
auto b = i->toDerivedPaths();
|
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);
|
printMissing(store, pathsToBuild, lvlError);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue