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:
parent
a0b2b75f59
commit
32409dd7d7
1 changed files with 0 additions and 1 deletions
|
@ -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 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue