Do not make overlay unnecessary complex

It actually is not necessary to use overrideAttrs as dmenu and st both
expose "patches" attribute which can easily be overridden.

Maybe it was necessary back then, as dmenu already had a patch as
fallback: 4b610d814e/pkgs/applications/misc/dmenu/default.nix (L1)

See: https://mamot.fr/@Thib/107716798899455762
This commit is contained in:
Daniel Siepmann 2022-01-31 12:27:07 +01:00
parent 4f7b9e6483
commit 29f64f8c21
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
self: super: {
dmenu = super.dmenu.overrideAttrs( oa: {
dmenu = super.dmenu.override {
patches = [
./settings.patch
];
});
};
}

View file

@ -1,7 +1,7 @@
self: super: {
st = super.st.overrideAttrs( oldAttributes: {
patches = oldAttributes.patches ++ [
st = super.st.override {
patches = [
./settings.patch
];
});
};
}