aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-10-02 14:19:26 +0200
committerGitHub <noreply@github.com>2020-10-02 14:19:26 +0200
commit57b935a8931fb59cdfe521357e76326d467a9a86 (patch)
tree3caa10f8f741daf5f8263832566e1108e4f5d9eb
parent4a358743d2086d787df738b2725414ab8d0bb5bc (diff)
parentd5d196b0a15fdba50363b89a61eb894a49153b08 (diff)
Merge pull request #4101 from B4dM4n/fix-profile-update
Fix profile update in nix command
-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);
}
},