Nix with-expression

with e1; e2

This with-expression adds the attributes in the set e1 to the lexical scope of the expression e2 as if they’d been added in a Nix let expressions.

Attributes introduced by a with-expression do not shadow attributes with the same identifier introduced any other way.