feat: remove wayland-sway-patch

It is now present in upstream as of waybar-0.10.1
This commit is contained in:
Jalil David Salamé Messina 2024-04-29 09:03:59 +02:00
parent 17a087959d
commit ffb648205e
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -109,24 +109,6 @@
neovim-nightly = neovim-nightly.overlays.default;
jpassmenu = jpassmenu.overlays.default;
audiomenu = audiomenu.overlays.default;
"waybar-sway-patch" = final: prev: {
waybar = prev.waybar.overrideAttrs (
old:
let
# Fixes https://github.com/Alexays/Waybar/issues/3009
patch = final.fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/Alexays/Waybar/pull/3037.patch";
hash = "sha256-u87t6zzslk1mzSfi4HQ6zDPFr7qMfsvymTy3HBxVTJQ=";
};
prevPatches = old.patches or [ ];
# Deduplicate patch
present = builtins.elem patch prevPatches;
in
{
patches = prevPatches ++ final.lib.optional (!present) patch;
}
);
};
};
# Nix files formatter (run `nix fmt`)