+++ export HOME=/build +++ HOME=/build +++ export NIX_STATE_DIR=/build/nix +++ NIX_STATE_DIR=/build/nix +++ export NIX_CONF_DIR=/build/etc +++ NIX_CONF_DIR=/build/etc +++ mkdir -p /build/etc +++ echo 'fsync-metadata = false' +++ export IN_NIX_SANDBOX=1 +++ IN_NIX_SANDBOX=1 +++ export CLAN_TEST_STORE=/build/store +++ CLAN_TEST_STORE=/build/store +++ export LOCK_NIX=/build/nix_lock +++ LOCK_NIX=/build/nix_lock +++ export CLAN_TEST_FLAKE_CACHE=/build/clan-flake-cache +++ CLAN_TEST_FLAKE_CACHE=/build/clan-flake-cache +++ mkdir -p /build/store/nix/store /build/clan-flake-cache +++ mkdir -p /build/store/nix/var/nix/gcroots +++ [[ -n /nix/store/c3njb8xjxrkafqygcwv2a82fbhjb39jw-closure-info ]] ++++ nproc +++ /nix/store/gbd7xfq2d1wbrwr2i045mvc8fkkw7i1g-findutils-4.10.0/bin/xargs -r -P80 /nix/store/9bhf1ff1kwhmyynws5jkjp8k7pkh6kix-coreutils-9.11/bin/cp --recursive --no-dereference --reflink=auto --target-directory /build/store/nix/store +++ /nix/store/mcjjqdfn8024cyhr0nqg9a9p3g5cj727-nix-2.34.7/bin/nix-store --load-db --store /build/store +++ mkdir -p self +++ cp -r --no-target-directory /nix/store/jhr81pkrlv465sxybzr0czcyv1y6fqqs-source self +++ clan vars check --flake ./self --debug Debug log activated Prefetching flake ./self warning: you don't have Internet access; disabling some network-dependent features Cache miss for clanInternals.inventoryClass.inventorySerialization.{instances,machines,meta} nix \ --extra-experimental-features 'nix-command flakes' \ --option warn-dirty \ false \ config \ show \ --json --store \ /build/store Caller: /nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/nix/__init__.py:91::nix_config warning: you don't have Internet access; disabling some network-dependent features Command exited with return code 0 Caller: /nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/nix/__init__.py:91::nix_config Precaching selectors: - (not cached) clanInternals.?secrets.?age.?plugins - (not cached) clanInternals.inventoryClass.relativeDirectory - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash} - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor} - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.settings.publicModule - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.settings.secretModule - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?sops.?secretUploadDirectory - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?password-store.?passCommand - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?password-store.?secretLocation - (not cached) clanInternals.vars.settings.?recipients - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?age.?secretLocation Loading flake cache from file /build/clan-flake-cache/flakes-v2/8cb35012bc9c8235b25da6752db79fec8913c371 (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}' (cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.publicModule' (cached) $ clan select clanInternals.inventoryClass.relativeDirectory (cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.secretModule' (cached) $ clan select clanInternals.inventoryClass.relativeDirectory (cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.secretModule' (cached) $ clan select clanInternals.inventoryClass.relativeDirectory (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.publicModule' (cached) $ clan select clanInternals.inventoryClass.relativeDirectory (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' Check results for machine 'build-x86-01': All vars are present and valid. Precaching selectors: - (cached) clanInternals.?secrets.?age.?plugins - (cached) clanInternals.inventoryClass.relativeDirectory - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash} - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor} - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.settings.publicModule - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.settings.secretModule - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?sops.?secretUploadDirectory - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?password-store.?passCommand - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?password-store.?secretLocation - (cached) clanInternals.vars.settings.?recipients - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?age.?secretLocation Loading flake cache from file /build/clan-flake-cache/flakes-v2/8cb35012bc9c8235b25da6752db79fec8913c371 (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}' (cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.publicModule' (cached) $ clan select clanInternals.inventoryClass.relativeDirectory (cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.secretModule' (cached) $ clan select clanInternals.inventoryClass.relativeDirectory (cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.secretModule' (cached) $ clan select clanInternals.inventoryClass.relativeDirectory (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.publicModule' (cached) $ clan select clanInternals.inventoryClass.relativeDirectory (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' Check results for machine 'build01': All vars are present and valid. Precaching selectors: - (cached) clanInternals.?secrets.?age.?plugins - (cached) clanInternals.inventoryClass.relativeDirectory - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash} - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor} - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.?sops.?defaultGroups - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.publicModule - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.secretModule - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation - (cached) clanInternals.vars.settings.?recipients - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?age.?secretLocation Exited with error Traceback (most recent call last): File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1076, in get_from_nix run( ~~~^ nix_build(["--expr", nix_code, *nix_options]), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RunOpts(log=Log.NONE, trace=trace), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ).stdout.strip(), ^ File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/cmd/__init__.py", line 451, in run raise ClanCmdError(cmd_out) clan_lib.errors.ClanCmdError: =================================== Command ==================================== nix \ --extra-experimental-features 'nix-command flakes' \ --option warn-dirty \ false \ build \ --flake-registry '' \ --print-out-paths --print-build-logs \ --show-trace --no-link \ --expr ' let flake = builtins.getFlake "path:/nix/store/jhr81pkrlv465sxybzr0czcyv1y6fqqs-source?narHash=sha256-4dnD6f5uImE6DY441SQGWIYs6F+rT1oUNSE43E02yk8="; selectLib = ( builtins.getFlake "path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg=" ).lib; in derivation { name = "clan-flake-select"; result = builtins.toJSON [ (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "generators"}, {"type": "all"}, {"type": "set", "value": [{"type": "str", "value": "share"}, {"type": "str", "value": "dependencies"}, {"type": "str", "value": "prompts"}, {"type": "str", "value": "validationHash"}]}]'"'"''"'"') flake) (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "generators"}, {"type": "all"}, {"type": "str", "value": "files"}, {"type": "all"}, {"type": "set", "value": [{"type": "str", "value": "secret"}, {"type": "str", "value": "deploy"}, {"type": "str", "value": "owner"}, {"type": "str", "value": "group"}, {"type": "str", "value": "mode"}, {"type": "str", "value": "neededFor"}]}]'"'"''"'"') flake) (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "maybe", "value": "sops"}, {"type": "maybe", "value": "defaultGroups"}]'"'"''"'"') flake) (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "settings"}, {"type": "str", "value": "publicModule"}]'"'"''"'"') flake) (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "settings"}, {"type": "str", "value": "secretModule"}]'"'"''"'"') flake) (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "sops"}, {"type": "maybe", "value": "secretUploadDirectory"}]'"'"''"'"') flake) (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "password-store"}, {"type": "maybe", "value": "passCommand"}]'"'"''"'"') flake) (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "password-store"}, {"type": "maybe", "value": "secretLocation"}]'"'"''"'"') flake) (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "age"}, {"type": "maybe", "value": "secretLocation"}]'"'"''"'"') flake) ]; # We can always build this derivation locally, since /bin/sh is system independent, # remote builders would introduce needless overhead. preferLocalBuild = true; # Save the roundtrip to check the binary caches for trivial substitutions allowSubstitutes = false; passAsFile = [ "result" ]; system = "aarch64-linux"; builder = "/bin/sh"; args = [ "-c" '"'"''"'"' read -r x < "$resultPath"; printf %s "$x" > $out '"'"''"'"' ]; } ' \ --store /build/store ==================================== Stderr ==================================== warning: you don't have Internet access; disabling some network-dependent features error: … while calling the 'derivationStrict' builtin at :37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| … while evaluating derivation 'clan-flake-select' whose name attribute is located at «string»:10:17 … while evaluating attribute 'result' of derivation 'clan-flake-select' at «string»:11:17: 10| name = "clan-flake-select"; 11| result = builtins.toJSON [ | ^ 12| (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "generators"}, {"type": "all"}, {"type": "set", "value": [{"type": "str", "value": "share"}, {"type": "str", "value": "dependencies"}, {"type": "str", "value": "prompts"}, {"type": "str", "value": "validationHash"}]}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "generators"}, {"type": "all"}, {"type": "str", "value": "files"}, {"type": "all"}, {"type": "set", "value": [{"type": "str", "value": "secret"}, {"type": "str", "value": "deploy"}, {"type": "str", "value": "owner"}, {"type": "str", "value": "group"}, {"type": "str", "value": "mode"}, {"type": "str", "value": "neededFor"}]}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "maybe", "value": "sops"}, {"type": "maybe", "value": "defaultGroups"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "settings"}, {"type": "str", "value": "publicModule"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "settings"}, {"type": "str", "value": "secretModule"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "sops"}, {"type": "maybe", "value": "secretUploadDirectory"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "password-store"}, {"type": "maybe", "value": "passCommand"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "password-store"}, {"type": "maybe", "value": "secretLocation"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "age"}, {"type": "maybe", "value": "secretLocation"}]'') flake) … while calling the 'toJSON' builtin at «string»:11:26: 10| name = "clan-flake-select"; 11| result = builtins.toJSON [ | ^ 12| (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "generators"}, {"type": "all"}, {"type": "set", "value": [{"type": "str", "value": "share"}, {"type": "str", "value": "dependencies"}, {"type": "str", "value": "prompts"}, {"type": "str", "value": "validationHash"}]}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "generators"}, {"type": "all"}, {"type": "str", "value": "files"}, {"type": "all"}, {"type": "set", "value": [{"type": "str", "value": "secret"}, {"type": "str", "value": "deploy"}, {"type": "str", "value": "owner"}, {"type": "str", "value": "group"}, {"type": "str", "value": "mode"}, {"type": "str", "value": "neededFor"}]}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "maybe", "value": "sops"}, {"type": "maybe", "value": "defaultGroups"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "settings"}, {"type": "str", "value": "publicModule"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "str", "value": "settings"}, {"type": "str", "value": "secretModule"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "sops"}, {"type": "maybe", "value": "secretUploadDirectory"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "password-store"}, {"type": "maybe", "value": "passCommand"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "password-store"}, {"type": "maybe", "value": "secretLocation"}]'') flake) (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "aarch64-linux"}, {"type": "set", "value": [{"type": "str", "value": "build02"}]}, {"type": "str", "value": "config"}, {"type": "str", "value": "clan"}, {"type": "str", "value": "core"}, {"type": "str", "value": "vars"}, {"type": "maybe", "value": "age"}, {"type": "maybe", "value": "secretLocation"}]'') flake) … while evaluating list element at index 0 … while evaluating attribute 'build02' … while calling anonymous lambda at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:325:37: 324| in 325| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) filteredAttrs | ^ 326| else if selector.type == "maybe" then … from call site at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:325:40: 324| in 325| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) filteredAttrs | ^ 326| else if selector.type == "maybe" then … while calling 'recurse' at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:265:25: 264| recurse = 265| selectors: idx: obj: | ^ 266| # we are done … while evaluating a branch condition at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:11: 280| # lists 281| if builtins.isList obj then | ^ 282| if selector.type == "all" then … while calling the 'isList' builtin at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:14: 280| # lists 281| if builtins.isList obj then | ^ 282| if selector.type == "all" then … while calling the 'getAttr' builtin at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:321:29: 320| name = x.value; 321| value = builtins.getAttr x.value obj; | ^ 322| }) attrsAvailable … while calling anonymous lambda at /build/store/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix:106:14: 105| lib.mapAttrs ( 106| _: machine: | ^ 107| machine.extendModules { … from call site at /build/store/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix:107:11: 106| _: machine: 107| machine.extendModules { | ^ 108| modules = [ … while calling anonymous lambda at /build/store/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix:62:11: 61| configurations = lib.mapAttrs ( 62| name: _: | ^ 63| moduleSystemConstructor.${machineClasses.${name}} { … from call site at /build/store/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix:63:5: 62| name: _: 63| moduleSystemConstructor.${machineClasses.${name}} { | ^ 64| # ATTENTION!: Dont add any modules here. … while calling 'darwinSystem' at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/flake.nix:21:22: 20| 21| darwinSystem = args@{ modules, ... }: self.lib.evalConfig ( | ^ 22| { inherit (nixpkgs) lib; } … from call site at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/flake.nix:21:45: 20| 21| darwinSystem = args@{ modules, ... }: self.lib.evalConfig ( | ^ 22| { inherit (nixpkgs) lib; } … while calling anonymous lambda at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:17:1: 16| 17| { lib | ^ 18| , modules … in the condition of the assert statement at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:25:1: 24| 25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw '' | ^ 26| … in the right operand of the IMPL (->) operator at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:25:34: 24| 25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw '' | ^ 26| … in the right operand of the OR (||) operator at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:25:54: 24| 25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw '' | ^ 26| … while calling the 'throw' builtin at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-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. Return Code: 1 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 503, in main args.func(args) ~~~~~~~~~^^^^^^ File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 26, in check_command ok = check_vars(machine.name, flake, generator_name=args.generator) File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/vars/check.py", line 149, in check_vars status = vars_status(machine_name, flake, generator_name=generator_name) File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/vars/check.py", line 63, in vars_status generators = get_machine_generators([machine.name], machine.flake) File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/vars/generator.py", line 243, in get_machine_generators flake.precache(get_machine_selectors(machine_names)) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1151, in precache self.get_from_nix(not_fetched_selectors) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1094, in get_from_nix raise ClanSelectError( ...<3 lines>... ) from e clan_lib.flake.flake.ClanSelectError: Error while executing:$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}' $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}' $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.?sops.?defaultGroups' $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.publicModule' $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.secretModule' $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory' $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand' $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation' $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?age.?secretLocation' Reason: 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.. Use flag '--debug' to see full nix trace. + exitHandler + exitCode=1 + set +e + '[' -n '' ']' + (( 1 != 0 )) + runHook failureHook + local hookName=failureHook + shift + local 'hooksSlice=failureHooks[@]' + local hook + for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"} + _logHook failureHook '_callImplicitHook 0 failureHook' + [[ -z 2 ]] + local hookKind=failureHook + local 'hookExpr=_callImplicitHook 0 failureHook' + shift 2 + declare -F '_callImplicitHook 0 failureHook' + type -p '_callImplicitHook 0 failureHook' + [[ _callImplicitHook 0 failureHook != _callImplicitHook* ]] + _eval '_callImplicitHook 0 failureHook' + declare -F '_callImplicitHook 0 failureHook' + eval '_callImplicitHook 0 failureHook' ++ _callImplicitHook 0 failureHook ++ local def=0 ++ local hookName=failureHook ++ declare -F failureHook ++ type -p failureHook ++ '[' -n '' ']' ++ return 0 + return 0 + '[' -n '' ']' + return 1