diff options
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); |