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/command.cc | |
parent | f7ba16f9cbc27b141f1797a7c4f1fd3243f31683 (diff) |
Squashed get CA derivations building
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r-- | src/nix/command.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc index da32819da..4a93d8e73 100644 --- a/src/nix/command.cc +++ b/src/nix/command.cc @@ -137,7 +137,9 @@ void MixProfile::updateProfile(const Buildables & buildables) }, [&](BuildableFromDrv bfd) { for (auto & output : bfd.outputs) { - result.push_back(output.second); + if (!output.second) + throw Error("output path should be known because we just tried to build it"); + result.push_back(*output.second); } }, }, buildable); |