1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Remove stray assignment side affect in lambda

This was almost a bug! It wasn't simply because another assignment would
clobber it later.
This commit is contained in:
John Ericson 2025-04-15 11:54:11 -04:00
parent a0b2b75f59
commit 32409dd7d7

View file

@ -70,7 +70,6 @@ DerivationOptions DerivationOptions::fromParsedDerivation(const ParsedDerivation
throw Error("attribute '%s' must be a list of strings", name);
res.insert(j->get<std::string>());
}
checks.disallowedRequisites = res;
return res;
}
return {};