mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
This pattern is error prone, especially with __structuredAttrs, where nested lists can leave important attributes such as `patches` null. The treewide rewrite was produced with ast-grep, followed by `nix fmt` and manual fixes for two `sema-undefined-variable` violations. Future occurrences will be rejected by nixpkgs-vet once this change is merged: https://github.com/NixOS/nixpkgs-vet/pull/301