mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
chore(formatting): Use oldAttrs for overlays
This commit is contained in:
parent
f868c7094e
commit
fb9b1ea09c
@ -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 ];
|
||||
});
|
||||
})
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user