aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix
diff options
context:
space:
mode:
authorpsentee <[email protected]>2023-07-16 12:37:53 +0200
committerMihai Fufezan <[email protected]>2023-07-23 23:19:57 +0300
commit2bbe3aa122f242f43ac31fb85a39da48db69ca79 (patch)
treebceac17800228a3979f935e664e339fb3c43d353 /nix
parent9fc5f4c48b20875337b7a1eddd274f191edd504d (diff)
downloadHyprland-2bbe3aa122f242f43ac31fb85a39da48db69ca79.tar.gz
Hyprland-2bbe3aa122f242f43ac31fb85a39da48db69ca79.zip
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`.
Diffstat (limited to 'nix')
-rw-r--r--nix/overlays.nix2
1 files changed, 1 insertions, 1 deletions
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"];
});