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 = [
|
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 ];
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user