fix(waybar): Use unreleased patch
Waybar 0.10.0 introduces a regression regarding sway workspaces, a merged patch fixes this, so we apply it instead of waiting for the next release. There are build issues due to a wireplumber update, but it should land in nixos-unstable soon: https://nixpk.gs/pr-tracker.html?pr=297158
This commit is contained in:
parent
d67d20599b
commit
1a27b3384f
2 changed files with 10 additions and 196 deletions
11
flake.nix
11
flake.nix
|
@ -86,7 +86,16 @@
|
|||
jpassmenu = jpassmenu.overlays.default;
|
||||
audiomenu = audiomenu.overlays.default;
|
||||
# Pin to v0.9 due to https://github.com/Alexays/Waybar/issues/3009
|
||||
"waybar-0.9" = final: prev: { waybar = final.callPackage ./waybar.nix { }; };
|
||||
"waybar-sway-patch" = final: prev: {
|
||||
waybar = prev.waybar.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ [
|
||||
(final.fetchpatch {
|
||||
url = "https://patch-diff.githubusercontent.com/raw/Alexays/Waybar/pull/3037.patch";
|
||||
hash = "sha256-u87t6zzslk1mzSfi4HQ6zDPFr7qMfsvymTy3HBxVTJQ=";
|
||||
})
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
# Nix files formatter (run `nix fmt`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue