From 2bbe3aa122f242f43ac31fb85a39da48db69ca79 Mon Sep 17 00:00:00 2001 From: psentee <135014396+psentee@users.noreply.github.com> Date: Sun, 16 Jul 2023 12:37:53 +0200 Subject: [PATCH] nix: use final.hyprland instead of prev.hyprland in waybar-hyprland MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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`. --- nix/overlays.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/overlays.nix b/nix/overlays.nix index e4475f08..cb7bd4cc 100644 --- a/nix/overlays.nix +++ b/nix/overlays.nix @@ -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"]; });