diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-10-09 18:26:47 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-10-09 18:26:47 +0000 |
commit | 39de73550dd5579c2b3f14f7ce669d3f8ed85689 (patch) | |
tree | 79194a4ed21a04ebca269005d2e188532e460fab /src/nix/command.cc | |
parent | cfe791a638a3fdf53a2608f885c407bafc238094 (diff) | |
parent | e845d19ae368cb9ee6371c4b2fdbdc86a110d893 (diff) |
Merge remote-tracking branch 'upstream/master' into fix-and-ci-static-builds
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r-- | src/nix/command.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc index efac230bd..ba7de9fdd 100644 --- a/src/nix/command.cc +++ b/src/nix/command.cc @@ -150,7 +150,10 @@ void MixProfile::updateProfile(const Buildables & buildables) }, [&](BuildableFromDrv bfd) { for (auto & output : bfd.outputs) { - result.push_back(output.second); + /* Output path should be known because we just tried to + build it. */ + assert(output.second); + result.push_back(*output.second); } }, }, buildable); |