Maybe fix hyprland v2_final_finalforreal_actuallyfinal
This commit is contained in:
parent
a201f98c7c
commit
a0990bceee
1 changed files with 10 additions and 4 deletions
|
|
@ -24,10 +24,16 @@ let
|
|||
wrapProgram $out/bin/Hyprland \
|
||||
--set LD_PRELOAD "${gcc15-lib}/lib/libstdc++.so.6"
|
||||
'';
|
||||
# HM's hyprland module calls package.override { enableXWayland = ... };
|
||||
# symlinkJoin has no override attr, so we attach a no-op: xwayland is
|
||||
# already built into the upstream package we wrap.
|
||||
}) // { override = _: hyprland-wrapped; };
|
||||
# symlinkJoin lacks passthru; restore it from the original so the display
|
||||
# manager finds providedSessions, and stub override so HM's hyprland module
|
||||
# (which calls package.override { enableXWayland = ... }) doesn't error.
|
||||
}) // {
|
||||
passthru = (hyprland-pkgs.hyprland.passthru or {}) // {
|
||||
providedSessions = [ "hyprland" ];
|
||||
override = _: hyprland-wrapped;
|
||||
};
|
||||
override = _: hyprland-wrapped;
|
||||
};
|
||||
in
|
||||
{
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue