1
0
forked from extern/nix-config

chore(formatting): Use oldAttrs for overlays

This commit is contained in:
Donovan Glover 2023-10-30 19:10:26 -04:00
parent f868c7094e
commit fb9b1ea09c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,8 +1,8 @@
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
alejandra = prev.alejandra.overrideAttrs (old: { alejandra = prev.alejandra.overrideAttrs (oldAttrs: {
patches = (old.patches or [ ]) ++ [ ../patches/alejandra-remove-ads.patch ]; patches = (oldAttrs.patches or [ ]) ++ [ ../patches/alejandra-remove-ads.patch ];
}); });
}) })
]; ];