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:
parent
4f7b9e6483
commit
29f64f8c21
|
@ -1,7 +1,7 @@
|
|||
self: super: {
|
||||
dmenu = super.dmenu.overrideAttrs( oa: {
|
||||
dmenu = super.dmenu.override {
|
||||
patches = [
|
||||
./settings.patch
|
||||
];
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
self: super: {
|
||||
st = super.st.overrideAttrs( oldAttributes: {
|
||||
patches = oldAttributes.patches ++ [
|
||||
st = super.st.override {
|
||||
patches = [
|
||||
./settings.patch
|
||||
];
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue