Build after flake update: hyprland possible

After nix flake update i get a rebuild failure.
I suspects that hyprland is the cuplrit but i am not sure and how do i solve the problem.

building the system configuration...
error:
       … while calling the 'head' builtin
         at /nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/lib/attrsets.nix:1534:13:
         1533|           if length values == 1 || pred here (elemAt values 1) (head values) then
         1534|             head values
             |             ^
         1535|           else

       … while evaluating the attribute 'value'
         at /nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/lib/modules.nix:992:7:
          991|     // {
          992|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |       ^
          993|       inherit (res.defsFinal') highestPrio;

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `assertions':

       … while evaluating definitions from `/nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services':

       … while evaluating definitions from `/nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/nixos/modules/services/logging/logrotate.nix':

       … while evaluating the option `services.logrotate.enable':

       … while evaluating the option `users.groups':

       … while evaluating definitions from `/nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/nixos/modules/config/resolvconf.nix':

       … while evaluating the option `networking.resolvconf.enable':

       … while evaluating the option `environment.etc':

       … while evaluating definitions from `/nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/nixos/modules/config/xdg/portal.nix':

       … while evaluating the option `xdg.portal.enable':

       … while evaluating definitions from `/nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/nixos/modules/config/xdg/portals/wlr.nix':

       … while evaluating the option `xdg.portal.wlr.enable':

       … while evaluating definitions from `/nix/store/52hnnvpyni1n79ra4rqxdcswmd2w3823-source/nixos/modules/programs/wayland/hyprland.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: ‘mkIf’ called with a non-Boolean condition

With Stacktrace:

Too long for discourse

Just wait for now.

2 Likes