forked from extern/nix-config
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