Merge pull request #4101 from B4dM4n/fix-profile-update

Fix profile update in nix command
This commit is contained in:
Eelco Dolstra 2020-10-02 14:19:26 +02:00 committed by GitHub
commit 57b935a893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
},