Maybe fix hyprland v2_final_finalforreal_actuallyfinal

This commit is contained in:
ediblerope 2026-05-13 22:53:05 +01:00
parent a201f98c7c
commit a0990bceee

View file

@ -24,10 +24,16 @@ let
wrapProgram $out/bin/Hyprland \ wrapProgram $out/bin/Hyprland \
--set LD_PRELOAD "${gcc15-lib}/lib/libstdc++.so.6" --set LD_PRELOAD "${gcc15-lib}/lib/libstdc++.so.6"
''; '';
# HM's hyprland module calls package.override { enableXWayland = ... }; # symlinkJoin lacks passthru; restore it from the original so the display
# symlinkJoin has no override attr, so we attach a no-op: xwayland is # manager finds providedSessions, and stub override so HM's hyprland module
# already built into the upstream package we wrap. # (which calls package.override { enableXWayland = ... }) doesn't error.
}) // { override = _: hyprland-wrapped; }; }) // {
passthru = (hyprland-pkgs.hyprland.passthru or {}) // {
providedSessions = [ "hyprland" ];
override = _: hyprland-wrapped;
};
override = _: hyprland-wrapped;
};
in in
{ {
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") { config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {