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 = [
(final: prev: {
alejandra = prev.alejandra.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ../patches/alejandra-remove-ads.patch ];
alejandra = prev.alejandra.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [ ../patches/alejandra-remove-ads.patch ];
});
})
];