+204
−187
Loading
Follow-up to #430969. Replace remaining `// optionalAttrs` patterns with
`${if cond then "name" else null} = value;` to avoid per-derivation
closure allocations and `//` merge operations.
Changes:
- make-derivation.nix: inline Darwin, Windows, outputChecks blocks and
the `env'`/`__structuredAttrs` patterns in mkDerivationSimple
- trivial-builders: inline optionalAttrs in runCommandWith and symlinkJoin