warning: `--gc-roots-dir' not specified
warning: not writing modified lock file of flake 'path:/nix/store/qvfyi3pnynvipwg248vfw9kg82g516cm-source':
• Added input 'data-mesher':
'path:/nix/store/27jjv4zwh0d1j4w2nwsf1p8hfripfhad-source?lastModified=1&narHash=sha256-GstEMM47F3UzwKCmSHhU0MM/qvQUzeZi3s0hNQkOn7k%3D' (1970-01-01)
• Added input 'data-mesher/flake-parts':
follows 'flake-parts'
• Added input 'data-mesher/nixpkgs':
follows 'nixpkgs'
• Added input 'data-mesher/treefmt-nix':
follows 'treefmt-nix'
• Added input 'disko':
'path:/nix/store/w2c23ykc12mswlg8hrrjzb5gv9gvkzwq-source?lastModified=1&narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (1970-01-01)
• Added input 'disko/nixpkgs':
follows 'nixpkgs'
• Added input 'flake-parts':
'path:/nix/store/lrxvs4l9bqbgjfz7w9bkfg5zqq442jxc-source?lastModified=1&narHash=sha256-4dtXQk/NMePegK/nWp5NSeuZKLATItOq61lpEvmXqGw%3D' (1970-01-01)
• Added input 'flake-parts/nixpkgs-lib':
follows 'nixpkgs'
• Added input 'nix-darwin':
'path:/nix/store/21f6lm3b151nxsniikgsjlvid75vdi67-source?lastModified=1&narHash=sha256-0tLW8Ff5yt8AH97jw4ZpFJ0OCJ122zIlgWGDmOfU/VU%3D' (1970-01-01)
• Added input 'nix-darwin/nixpkgs':
follows 'nixpkgs'
• Added input 'nix-select':
'path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?lastModified=1&narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (1970-01-01)
• Added input 'nixpkgs':
'path:/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source?lastModified=1&narHash=sha256-rBYNiK4XmVxmJaK40DRnmoPUpCeRXJ4DJdQ/DW2LQRU%3D' (1970-01-01)
• Added input 'sops-nix':
'path:/nix/store/c1ka0xdxj00wakzkqx8ccpkjjcjsnkmc-source?lastModified=1&narHash=sha256-aCWC8ngycU7OdJrU2%2BJe3qf%2B1a2ykuBvpPhZT/9tXMc%3D' (1970-01-01)
• Added input 'sops-nix/nixpkgs':
follows 'nixpkgs'
• Added input 'systems':
'path:/nix/store/9m1jsz5b9ggmjij2vkmafnhn26g96jjn-source?lastModified=1&narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (1970-01-01)
• Added input 'treefmt-nix':
'path:/nix/store/mdh8sbbfyjx02h66nav419nd1w8799xr-source?lastModified=1&narHash=sha256-XE1lKgQ3eIO3E7zWryqcRsax%2BmYXod/5RHBn4YaR9YE%3D' (1970-01-01)
• Added input 'treefmt-nix/nixpkgs':
follows 'nixpkgs'
trace: pathExists: 'machines' -> 'true'
trace: readDir: 'machines' -> '{
bar-machine = "directory";
foo-machine = "directory";
}'
✅ autoloading.test_autoload_directories
trace: pathExists: 'machines' -> 'true'
trace: readDir: 'machines' -> '{
"bar.nix" = "file";
"foo.nix" = "file";
}'
✅ autoloading.test_files_are_not_machines
✅ clan.testMachineAccessToClanConfig
✅ test_all_simple
✅ test_clan_all_machines
✅ test_clan_all_machines_laziness
evaluation warning: Argument: 'self' must be set
✅ test_clan_check_simple_fail
evaluation warning: Argument: 'self' must be set
✅ test_clan_check_simple_pass
✅ test_clan_darwin_machines
☢️ test_clan_darwin_wireguard_service
error:
… while evaluating the attribute 'darwinWgInterface'
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/qvfyi3pnynvipwg248vfw9kg82g516cm-source/lib/tests.nix:350:9:
349| # Check darwin wg-quick interface is configured (option exists)
350| darwinWgInterface = darwinConfig.networking.wg-quick.interfaces ? wg-test;
| ^
351|
… from call site
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/qvfyi3pnynvipwg248vfw9kg82g516cm-source/lib/tests.nix:340:22:
339| };
340| darwinConfig = eval.config.darwinConfigurations.darwin-peer.config;
| ^
341| nixosConfig = eval.config.nixosConfigurations.nixos-peer.config;
… while calling anonymous lambda
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/types.nix:891:18:
890| value = mapAttrs (
891| n: v:
| ^
892| if lazy then
… while evaluating the attribute 'optionalValue.value'
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/modules.nix:1330:5:
1329|
1330| optionalValue = if isDefined then { value = mergedValue; } else { };
| ^
1331| };
… while evaluating a branch condition
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/modules.nix:1330:21:
1329|
1330| optionalValue = if isDefined then { value = mergedValue; } else { };
| ^
1331| };
… while evaluating a branch condition
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/modules.nix:1241:7:
1240| # above are lazy and thus never forced on this branch.
1241| if
| ^
1242| length defs == 1
… in the right operand of the AND (&&) operator
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/modules.nix:1243:9:
1242| length defs == 1
1243| && (
| ^
1244| let
… while evaluating definitions from `/nix/store/qvfyi3pnynvipwg248vfw9kg82g516cm-source/modules/clan/module.nix':
… in the argument of the not operator
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/modules.nix:1248:31:
1247| addErrorContext "while evaluating definitions from `${d.file}':" (
1248| !(isAttrs d.value && d.value ? _type)
| ^
1249| )
… in the left operand of the AND (&&) operator
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/modules.nix:1248:31:
1247| addErrorContext "while evaluating definitions from `${d.file}':" (
1248| !(isAttrs d.value && d.value ? _type)
| ^
1249| )
… while calling the 'isAttrs' builtin
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/modules.nix:1248:15:
1247| addErrorContext "while evaluating definitions from `${d.file}':" (
1248| !(isAttrs d.value && d.value ? _type)
| ^
1249| )
… while evaluating the attribute 'value'
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/types.nix:831:11:
830| inherit (def) file;
831| value = v;
| ^
832| }) def.value
… from call site
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/n9wxc8k0i5jiwpaqmw3xblgjxh9k7mbm-source/lib/types.nix:831:11:
830| inherit (def) file;
831| value = v;
| ^
832| }) def.value
… while calling anonymous lambda
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/qvfyi3pnynvipwg248vfw9kg82g516cm-source/modules/clan/module.nix:62:11:
61| configurations = lib.mapAttrs (
62| name: _:
| ^
63| moduleSystemConstructor.${machineClasses.${name}} {
… from call site
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/qvfyi3pnynvipwg248vfw9kg82g516cm-source/modules/clan/module.nix:63:5:
62| name: _:
63| moduleSystemConstructor.${machineClasses.${name}} {
| ^
64| # ATTENTION!: Dont add any modules here.
… while calling 'darwinSystem'
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/21f6lm3b151nxsniikgsjlvid75vdi67-source/flake.nix:21:22:
20|
21| darwinSystem = args@{ modules, ... }: self.lib.evalConfig (
| ^
22| { inherit (nixpkgs) lib; }
… from call site
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/21f6lm3b151nxsniikgsjlvid75vdi67-source/flake.nix:21:45:
20|
21| darwinSystem = args@{ modules, ... }: self.lib.evalConfig (
| ^
22| { inherit (nixpkgs) lib; }
… while calling anonymous lambda
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/21f6lm3b151nxsniikgsjlvid75vdi67-source/eval-config.nix:17:1:
16|
17| { lib
| ^
18| , modules
… in the condition of the assert statement
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/21f6lm3b151nxsniikgsjlvid75vdi67-source/eval-config.nix:25:1:
24|
25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''
| ^
26|
… in the right operand of the IMPL (->) operator
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/21f6lm3b151nxsniikgsjlvid75vdi67-source/eval-config.nix:25:34:
24|
25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''
| ^
26|
… in the right operand of the OR (||) operator
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/21f6lm3b151nxsniikgsjlvid75vdi67-source/eval-config.nix:25:54:
24|
25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''
| ^
26|
… while calling the 'throw' builtin
at /nix/var/nix/builds/nix-59038-4187212496/nix/store/21f6lm3b151nxsniikgsjlvid75vdi67-source/eval-config.nix:25:57:
24|
25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''
| ^
26|
error:
nix-darwin now uses release branches that correspond to Nixpkgs releases.
The nix-darwin and Nixpkgs branches in use must match, but you are currently
using nix-darwin 26.11 with Nixpkgs 26.05.
On macOS, you should use either the `nixpkgs-unstable` or
`nixpkgs-YY.MM-darwin` branches of Nixpkgs. These correspond to the
`master` and `nix-darwin-YY.MM` branches of nix-darwin, respectively. Check
for the currently supported Nixpkgs releases.
If you’re using flakes, make sure your inputs look like this:
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/NIXPKGS-BRANCH";
nix-darwin.url = "github:nix-darwin/nix-darwin/NIX-DARWIN-BRANCH";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
# …
};
If you’re using channels, you can check your current channels with:
$ sudo nix-channel --list
nixpkgs https://nixos.org/channels/NIXPKGS-BRANCH
darwin https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz
…
$ nix-channel --list
…
If `darwin` or `nixpkgs` are present in `nix-channel --list` (without
`sudo`), you should delete them with `nix-channel --remove NAME`. These can
contribute to version mismatch problems.
You can then fix your channels like this:
$ sudo nix-channel --add https://nixos.org/channels/NIXPKGS-BRANCH nixpkgs
$ sudo nix-channel --add https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz darwin
$ sudo nix-channel --update
After that, activating your system again should work correctly. If it
doesn’t, please open an issue at
and include as much
information as possible.
✅ test_clan_specialArgs
✅ test_fn_clan_core
✅ test_fn_simple
✅ test_get_var_default
✅ test_get_var_machine
✅ test_get_var_shared
✅ test_machines_are_modules
evaluation warning: Argument: 'self' must be set
✅ test_missing_self
✅ test_only_required
✅ test_outputs_clanInternals
✅ test_single_letter_domain
😢 20/21 successful
error: Tests failed
Eval check failed. To re-run this test:
nix build .#legacyPackages.aarch64-darwin.evalCheck-eval-lib-build-clan