mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 19:46:00 +01:00
fix xwayland config option for nix (#587)
When building Hyprland in nix using the following home-manager recipe: ```nix wayland.windowManager.hyprland = { enable = true; xwayland = false; }; ``` The default nix configuration still makes reference to a compile argument `NO_XWAYLAND`, but the `meson_options.txt` only makes reference to `xwayland`. This causes the build to fail with: ``` meson.build:1:0: ERROR: Unknown options: "NO_XWAYLAND" ``` This change fixes that issue. This still doesn't allow you to build Hyprland without having XWayland installed (#178), but it should at least allow for valid nix configurations for when that issue gets resolved.
This commit is contained in:
parent
8122505825
commit
df4c1c02a6
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ stdenv.mkDerivation {
|
|||
else "release";
|
||||
|
||||
mesonFlags = builtins.concatLists [
|
||||
(lib.optional (!enableXWayland) "-DNO_XWAYLAND=true")
|
||||
(lib.optional (!enableXWayland) "-Dxwayland=disabled")
|
||||
(lib.optional legacyRenderer "-DLEGACY_RENDERER:STRING=true")
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue