aboutsummaryrefslogtreecommitdiff
path: root/src/nix/command.cc
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2020-10-02 12:10:31 +0200
committerFabian Möller <fabianm88@gmail.com>2020-10-02 12:10:31 +0200
commitd5d196b0a15fdba50363b89a61eb894a49153b08 (patch)
tree3caa10f8f741daf5f8263832566e1108e4f5d9eb /src/nix/command.cc
parent4a358743d2086d787df738b2725414ab8d0bb5bc (diff)
Fix profile update in nix command
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r--src/nix/command.cc2
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);
}
},