diff options
author | Fabian Möller <fabianm88@gmail.com> | 2020-10-02 12:10:31 +0200 |
---|---|---|
committer | Fabian Möller <fabianm88@gmail.com> | 2020-10-02 12:10:31 +0200 |
commit | d5d196b0a15fdba50363b89a61eb894a49153b08 (patch) | |
tree | 3caa10f8f741daf5f8263832566e1108e4f5d9eb /src/nix/command.cc | |
parent | 4a358743d2086d787df738b2725414ab8d0bb5bc (diff) |
Fix profile update in nix command
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r-- | src/nix/command.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc index 37a4bc785..ba7de9fdd 100644 --- a/src/nix/command.cc +++ b/src/nix/command.cc @@ -152,7 +152,7 @@ void MixProfile::updateProfile(const Buildables & buildables) for (auto & output : bfd.outputs) { /* Output path should be known because we just tried to build it. */ - assert(!output.second); + assert(output.second); result.push_back(*output.second); } }, |