Maybe fix hyprland v2
This commit is contained in:
parent
38ef4c59f1
commit
db5abd78f8
1 changed files with 5 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ let
|
||||||
(lib.removeSuffix "\n"
|
(lib.removeSuffix "\n"
|
||||||
(builtins.readFile (pkgs.writeReferencesToFile hyprutils)))));
|
(builtins.readFile (pkgs.writeReferencesToFile hyprutils)))));
|
||||||
|
|
||||||
hyprland-wrapped = pkgs.symlinkJoin {
|
hyprland-wrapped = (pkgs.symlinkJoin {
|
||||||
name = hyprland-pkgs.hyprland.name;
|
name = hyprland-pkgs.hyprland.name;
|
||||||
paths = [ hyprland-pkgs.hyprland ];
|
paths = [ hyprland-pkgs.hyprland ];
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
|
@ -24,7 +24,10 @@ 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 has no override attr, so we attach a no-op: xwayland is
|
||||||
|
# already built into the upstream package we wrap.
|
||||||
|
}) // { 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