mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +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
1.4 KiB
1.4 KiB