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 \
|
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") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue