Skip to content

Build failure: CAGE #401332

@DrTeagle

Description

@DrTeagle

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

  1. try to build cage

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

No response

Relevant log output

while calling the 'head' builtin
         at /nix/store/lxjv9rkc44chy0njfch4ianbaxkfx7f4-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/lxjv9rkc44chy0njfch4ianbaxkfx7f4-source/lib/modules.nix:1084:7:
         1083|     // {
         1084|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |       ^
         1085|       inherit (res.defsFinal') highestPrio;

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

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

       … while evaluating the option `warnings':

       … while evaluating definitions from `/nix/store/fyf9n8r559q75dl8w2zxspmw00w5vb4g-source/modules/regreet/nixos.nix':

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

       error: function 'anonymous lambda' called with unexpected argument 'wlroots'
       at /nix/store/lxjv9rkc44chy0njfch4ianbaxkfx7f4-source/pkgs/by-name/ca/cage/package.nix:1:1:
            1| {
             | ^
            2|   lib,
┏━ 1 Errors:

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

┃        … while evaluating definitions from `/nix/store/lxjv9rkc44chy0njfch4ianbaxkfx7f4-source/nixos…

┃        … while evaluating the option `warnings':

┃        … while evaluating definitions from `/nix/store/fyf9n8r559q75dl8w2zxspmw00w5vb4g-source/modul…

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

┃        error: function 'anonymous lambda' called with unexpected argument 'wlroots'
┃        at /nix/store/lxjv9rkc44chy0njfch4ianbaxkfx7f4-source/pkgs/by-name/ca/cage/package.nix:1:1:
┃             1| {
┃              | ^
┃             2|   lib,
┣━━━
┗━ ∑ ⚠ Exited with 1 errors reported by nix at 00:59:49 after 7s
Error:
   0: Command exited with status Exited(1)

Additional context

this appears as nixos-rebuild switch is first running, so this might not be the correct package

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.14.2, NixOS, 25.05 (Warbler), 25.05.20250417.b024ced
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.1
  • nixpkgs: /nix/store/isfbldda5j8j6x3nbv1zim0c0dpf90v8-source

Notify maintainers

@primeos


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions