nix: use final.hyprland instead of prev.hyprland in waybar-hyprland

Currently, waybar-hyprland package adds `prev.hyprland` to `$PATH`. This is nixpkgs' default hyprland, not hyprland injected by this overlay. I'd expect we want waybar-hyprland to depend on what's in `pkgs.hyprland` after this (and possibly user's other overlays) are applied – which is `final.hyprland`.
This commit is contained in:
psentee 2023-07-16 12:37:53 +02:00 committed by Mihai Fufezan
parent 9fc5f4c48b
commit 2bbe3aa122

View file

@ -58,7 +58,7 @@ in {
'';
postFixup = ''
wrapProgram $out/bin/waybar \
--suffix PATH : ${lib.makeBinPath [ prev.hyprland ]}
--suffix PATH : ${lib.makeBinPath [ final.hyprland ]}
'';
mesonFlags = old.mesonFlags ++ ["-Dexperimental=true"];
});