diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-07 19:09:26 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-07 19:51:55 +0000 |
commit | e913a2989fd7dfabfd93c89fd4295386eda4277f (patch) | |
tree | cb59783b9ef1db080fec0c45070b8badbbc15dba /src/nix/build.cc | |
parent | f7ba16f9cbc27b141f1797a7c4f1fd3243f31683 (diff) |
Squashed get CA derivations building
Diffstat (limited to 'src/nix/build.cc')
-rw-r--r-- | src/nix/build.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/build.cc b/src/nix/build.cc index 13d14a7fb..a66e8dac4 100644 --- a/src/nix/build.cc +++ b/src/nix/build.cc @@ -74,7 +74,8 @@ struct CmdBuild : InstallablesCommand, MixDryRun, MixProfile store2->addPermRoot(bo.path, absPath(symlink), true); }, [&](BuildableFromDrv bfd) { - for (auto & output : bfd.outputs) { + auto builtOutputs = store->queryDerivationOutputMapAssumeTotal(bfd.drvPath); + for (auto & output : builtOutputs) { std::string symlink = outLink; if (i) symlink += fmt("-%d", i); if (output.first != "out") symlink += fmt("-%s", output.first); |