Skip to content

upgrade nixos/hm to 25.05#63

Closed
chadac wants to merge 1 commit into
nix-configfrom
chadac/upgrade-nixos-hm-version
Closed

upgrade nixos/hm to 25.05#63
chadac wants to merge 1 commit into
nix-configfrom
chadac/upgrade-nixos-hm-version

upgrade nixos/hm to 25.05

8d24059
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Garnix CI / darwinConfig odin-darwin failed Jun 12, 2025 in 3s

Run results

Build failed

Details

Last 100 lines of logs:

warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'extra-trusted-substituters'.
Pass '--accept-flake-config' to trust it
unpacking 'github:LnL7/nix-darwin/72c88d5928196159e3a0d03e67b25d8044546ca6?narHash=sha256-oubMGIrW/vBdX%2Bxw47LEcxrqYqZUdLYPE8xrLDKoBE8%3D' into the Git cache...
error:
       … while evaluating the attribute 'optionalValue.value'
         at /nix/store/xrr233zsz756b4srmma8z6y0ff606qd4-source/lib/modules.nix:1148:5:
         1147|
         1148|     optionalValue = if isDefined then { value = mergedValue; } else { };
             |     ^
         1149|   };

       … while evaluating a branch condition
         at /nix/store/xrr233zsz756b4srmma8z6y0ff606qd4-source/lib/modules.nix:1148:21:
         1147|
         1148|     optionalValue = if isDefined then { value = mergedValue; } else { };
             |                     ^
         1149|   };

       … while evaluating definitions from `/nix/store/3nc7xzmsym9kv0l5rjpz9barv7f0x461-source/modules/system':

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

       error:
       Failed assertions:
       - Previously, some nix-darwin options applied to the user running
       `darwin-rebuild`. As part of a long‐term migration to make
       nix-darwin focus on system‐wide activation and support first‐class
       multi‐user setups, all system activation now runs as `root`, and
       these options instead apply to the `system.primaryUser` user.

       You currently have the following primary‐user‐requiring options set:

       * `homebrew.enable`

       To continue using these options, set `system.primaryUser` to the name
       of the user you have been using to run `darwin-rebuild`.

       If you run into any unexpected issues with the migration, please
       open an issue at <https://github.com/nix-darwin/nix-darwin/issues/new>
       and include as much information as possible.
odin-darwin> failed running package evaluation. If you have `nix` installed, you can reproduce the error locally by running: prlimit --as=8589934592 nix build .#darwinConfigurations.odin-darwin.config.system.build.toplevel --dry-run --json
odin-darwin> warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'extra-trusted-substituters'.
Pass '--accept-flake-config' to trust it
unpacking 'github:LnL7/nix-darwin/72c88d5928196159e3a0d03e67b25d8044546ca6?narHash=sha256-oubMGIrW/vBdX%2Bxw47LEcxrqYqZUdLYPE8xrLDKoBE8%3D' into the Git cache...
error:
       … while evaluating the attribute 'optionalValue.value'
         at /nix/store/xrr233zsz756b4srmma8z6y0ff606qd4-source/lib/modules.nix:1148:5:
         1147|
         1148|     optionalValue = if isDefined then { value = mergedValue; } else { };
             |     ^
         1149|   };

       … while evaluating a branch condition
         at /nix/store/xrr233zsz756b4srmma8z6y0ff606qd4-source/lib/modules.nix:1148:21:
         1147|
         1148|     optionalValue = if isDefined then { value = mergedValue; } else { };
             |                     ^
         1149|   };

       … while evaluating definitions from `/nix/store/3nc7xzmsym9kv0l5rjpz9barv7f0x461-source/modules/system':

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

       error:
       Failed assertions:
       - Previously, some nix-darwin options applied to the user running
       `darwin-rebuild`. As part of a long‐term migration to make
       nix-darwin focus on system‐wide activation and support first‐class
       multi‐user setups, all system activation now runs as `root`, and
       these options instead apply to the `system.primaryUser` user.

       You currently have the following primary‐user‐requiring options set:

       * `homebrew.enable`

       To continue using these options, set `system.primaryUser` to the name
       of the user you have been using to run `darwin-rebuild`.

       If you run into any unexpected issues with the migration, please
       open an issue at <https://github.com/nix-darwin/nix-darwin/issues/new>
       and include as much information as possible.