Closed beefcarver closed 1 month ago
@fufexan
Ah yeah that's my bad, I made Nix only include xcursor in the build if xwayland is enabled. This needs fixing in both the flake and the nixpkgs packages.
Should be fixed by 1b1ecf77 for the flake package.
The Nixpkgs fix will also be in nixos-unstable in a few days.
Regression?
Yes
System Info and Version
System/Version info
```sh Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: 2024-06-25 Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5 flags: (if any) no xwayland System Information: System name: Linux Node name: hextor Release: 6.10.1-zen1 Version: #1-NixOS ZEN SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20240811.a58bc8a" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuna)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuna)" VERSION_CODENAME=vicuna VERSION_ID="24.11" plugins: ======Config-Start====== Config File: /home/b/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/j8l2v22xypah1srykhwjlkgwwgdxnnpw-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target $menu=wofi --show run $mod=SUPER $terminal=alacritty animations { animation=windows, 1, 1.5, default animation=windowsOut, 1, 1.5, default, popin 80% animation=border, 1, 1.5, default animation=borderangle, 1, 1.5, default animation=fade, 1, 1.5, default animation=workspaces, 1, 1.5, default enabled=true first_launch_animation=false } decoration { drop_shadow=false rounding=4 } dwindle { no_gaps_when_only=1 smart_split=true } general { col.active_border=rgba(383838ee) rgba(585858ee) 45deg col.inactive_border=rgba(282828ee) gaps_in=2 gaps_out=4 layout=dwindle resize_on_border=true } gestures { workspace_swipe=true workspace_swipe_forever=true workspace_swipe_invert=false } group { groupbar { col.active=rgba(585858ee) col.inactive=rgba(282828ee) text_color=rgba(f8f8f8ff) } } input { touchpad { tap-and-drag=true } kb_layout=custom kb_variant=dvorak } misc { background_color=rgb(181818) disable_hyprland_logo=true disable_splash_rendering=true force_default_wallpaper=0 key_press_enables_dpms=true mouse_move_enables_dpms=true } bind=$mod SHIFT, Return, exec, $terminal bind=$mod SHIFT, C, killactive, bind=$mod SHIFT, Q, exit, bind=$mod SHIFT, Space, togglefloating, bind=$mod, P, exec, $menu bind=$mod, Y, pseudo, # dwindle bind=$mod, F, togglesplit, # dwindle bind=$mod, t, togglegroup, bind=$mod, left, movefocus, l bind=$mod, right, movefocus, r bind=$mod, up, movefocus, u bind=$mod, down, movefocus, d bind=$mod, 1, workspace, 1 bind=$mod, 2, workspace, 2 bind=$mod, 3, workspace, 3 bind=$mod, 4, workspace, 4 bind=$mod, 5, workspace, 5 bind=$mod, 6, workspace, 6 bind=$mod, 7, workspace, 7 bind=$mod, 8, workspace, 8 bind=$mod, 9, workspace, 9 bind=$mod, 0, workspace, 10 bind=$mod SHIFT, 1, movetoworkspace, 1 bind=$mod SHIFT, 2, movetoworkspace, 2 bind=$mod SHIFT, 3, movetoworkspace, 3 bind=$mod SHIFT, 4, movetoworkspace, 4 bind=$mod SHIFT, 5, movetoworkspace, 5 bind=$mod SHIFT, 6, movetoworkspace, 6 bind=$mod SHIFT, 7, movetoworkspace, 7 bind=$mod SHIFT, 8, movetoworkspace, 8 bind=$mod SHIFT, 9, movetoworkspace, 9 bind=$mod SHIFT, 0, movetoworkspace, 10 bind=$mod, S, togglespecialworkspace, magic bind=$mod SHIFT, S, movetoworkspace, special:magic bind=$mod, mouse_down, workspace, e+1 bind=$mod, mouse_up, workspace, e-1 bindel=, XF86AudioRaiseVolume,exec, volumectl -u up bindel=, XF86AudioLowerVolume,exec, volumectl -u down bindel=, XF86MonBrightnessUp,exec, lightctl up bindel=, XF86MonBrightnessDown,exec, lightctl down bindl=, switch:on:Lid Switch, exec, /home/b/bin/lid_switch.sh on bindl=, switch:off:Lid Switch, exec, /home/b/bin/lid_switch.sh off bindm=$mod, mouse:272, movewindow bindm=$mod, mouse:273, resizewindow exec-once=hypridle exec-once=hyprpaper exec-once=waybar exec-once=/home/b/bin/monitor_events.sh monitor=eDP-1,preferred,0x0,1.56667 ======Config-End======== ```Description
On NixOS with flake.nix / Home Manager (following the current Hyprland on Home Manager wiki page), Hyprland no longer builds if
wayland.windowManager.hyprland.xwayland.enable = false
(I disable xwayland so apps that require it break instead of being blurry (fractional scaling woes), forcing me to find alternatives instead of suffer retinal damage.)
How to reproduce
Build fails:
wayland.windowManager.hyprland.xwayland.enable = false;
Build works:
wayland.windowManager.hyprland.xwayland.enable = true;
Crash reports, logs, images, videos