check-vars
aarch64-linux.vars
· build #9
· raw
1+++ export HOME=/build2+++ HOME=/build3+++ export NIX_STATE_DIR=/build/nix4+++ NIX_STATE_DIR=/build/nix5+++ export NIX_CONF_DIR=/build/etc6+++ NIX_CONF_DIR=/build/etc7+++ mkdir -p /build/etc8+++ echo 'fsync-metadata = false'9+++ export IN_NIX_SANDBOX=110+++ IN_NIX_SANDBOX=111+++ export CLAN_TEST_STORE=/build/store12+++ CLAN_TEST_STORE=/build/store13+++ export LOCK_NIX=/build/nix_lock14+++ LOCK_NIX=/build/nix_lock15+++ export CLAN_TEST_FLAKE_CACHE=/build/clan-flake-cache16+++ CLAN_TEST_FLAKE_CACHE=/build/clan-flake-cache17+++ mkdir -p /build/store/nix/store /build/clan-flake-cache18+++ mkdir -p /build/store/nix/var/nix/gcroots19+++ [[ -n /nix/store/c3njb8xjxrkafqygcwv2a82fbhjb39jw-closure-info ]]20++++ nproc21+++ /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/store22+++ /nix/store/mcjjqdfn8024cyhr0nqg9a9p3g5cj727-nix-2.34.7/bin/nix-store --load-db --store /build/store23+++ mkdir -p self24+++ cp -r --no-target-directory /nix/store/jhr81pkrlv465sxybzr0czcyv1y6fqqs-source self25+++ clan vars check --flake ./self --debug26Debug log activated27Prefetching flake ./self28warning: you don't have Internet access; disabling some network-dependent features29Cache miss for clanInternals.inventoryClass.inventorySerialization.{instances,machines,meta}30nix \31 --extra-experimental-features 'nix-command flakes' \32 --option warn-dirty \33 false \34 config \35 show \36 --json --store \37 /build/store 38Caller: /nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/nix/__init__.py:91::nix_config3940warning: you don't have Internet access; disabling some network-dependent features41Command exited with return code 0 42Caller: /nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/nix/__init__.py:91::nix_config4344Precaching selectors:45 - (not cached) clanInternals.?secrets.?age.?plugins46 - (not cached) clanInternals.inventoryClass.relativeDirectory47 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}48 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}49 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups50 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.settings.publicModule51 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.settings.secretModule52 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?sops.?secretUploadDirectory53 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?password-store.?passCommand54 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?password-store.?secretLocation55 - (not cached) clanInternals.vars.settings.?recipients56 - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?age.?secretLocation57Loading flake cache from file /build/clan-flake-cache/flakes-v2/8cb35012bc9c8235b25da6752db79fec8913c37158(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}'59(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}'60(cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.publicModule'61(cached) $ clan select clanInternals.inventoryClass.relativeDirectory62(cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.secretModule'63(cached) $ clan select clanInternals.inventoryClass.relativeDirectory64(cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.secretModule'65(cached) $ clan select clanInternals.inventoryClass.relativeDirectory66(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'67(cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.publicModule'68(cached) $ clan select clanInternals.inventoryClass.relativeDirectory69(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'70(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'71(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'72(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'73(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'74(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'75(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'76(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'77Check results for machine 'build-x86-01': 78All vars are present and valid.79Precaching selectors:80 - (cached) clanInternals.?secrets.?age.?plugins81 - (cached) clanInternals.inventoryClass.relativeDirectory82 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}83 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}84 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups85 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.settings.publicModule86 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.settings.secretModule87 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?sops.?secretUploadDirectory88 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?password-store.?passCommand89 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?password-store.?secretLocation90 - (cached) clanInternals.vars.settings.?recipients91 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?age.?secretLocation92Loading flake cache from file /build/clan-flake-cache/flakes-v2/8cb35012bc9c8235b25da6752db79fec8913c37193(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}'94(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}'95(cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.publicModule'96(cached) $ clan select clanInternals.inventoryClass.relativeDirectory97(cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.secretModule'98(cached) $ clan select clanInternals.inventoryClass.relativeDirectory99(cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.secretModule'100(cached) $ clan select clanInternals.inventoryClass.relativeDirectory101(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'102(cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.publicModule'103(cached) $ clan select clanInternals.inventoryClass.relativeDirectory104(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'105(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'106(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'107(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'108(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'109(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'110(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'111(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'112(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'113Check results for machine 'build01': 114All vars are present and valid.115Precaching selectors:116 - (cached) clanInternals.?secrets.?age.?plugins117 - (cached) clanInternals.inventoryClass.relativeDirectory118 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}119 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}120 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.?sops.?defaultGroups121 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.publicModule122 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.secretModule123 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory124 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand125 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation126 - (cached) clanInternals.vars.settings.?recipients127 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?age.?secretLocation128Exited with error129Traceback (most recent call last):130 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1076, in get_from_nix131 run(132 ~~~^133 nix_build(["--expr", nix_code, *nix_options]),134 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^135 RunOpts(log=Log.NONE, trace=trace),136 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^137 ).stdout.strip(),138 ^139 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/cmd/__init__.py", line 451, in run140 raise ClanCmdError(cmd_out)141clan_lib.errors.ClanCmdError: 142=================================== Command ====================================143nix \144 --extra-experimental-features 'nix-command flakes' \145 --option warn-dirty \146 false \147 build \148 --flake-registry '' \149 --print-out-paths --print-build-logs \150 --show-trace --no-link \151 --expr '152 let153 flake = builtins.getFlake "path:/nix/store/jhr81pkrlv465sxybzr0czcyv1y6fqqs-source?narHash=sha256-4dnD6f5uImE6DY441SQGWIYs6F+rT1oUNSE43E02yk8=";154 selectLib = (155 builtins.getFlake156 "path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg="157 ).lib;158 in159 derivation {160 name = "clan-flake-select";161 result = builtins.toJSON [162 (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)163 ];164165 # We can always build this derivation locally, since /bin/sh is system independent,166 # remote builders would introduce needless overhead.167 preferLocalBuild = true;168 # Save the roundtrip to check the binary caches for trivial substitutions169 allowSubstitutes = false;170171 passAsFile = [ "result" ];172 system = "aarch64-linux";173 builder = "/bin/sh";174 args = [175 "-c"176 '"'"''"'"'177 read -r x < "$resultPath"; printf %s "$x" > $out178 '"'"''"'"'179 ];180 }181 ' \182 --store /build/store183184==================================== Stderr ====================================185warning: you don't have Internet access; disabling some network-dependent features186error:187 … while calling the 'derivationStrict' builtin188 at <nix/derivation-internal.nix>:37:12:189 36|190 37| strict = derivationStrict drvAttrs;191 | ^192 38|193194 … while evaluating derivation 'clan-flake-select'195 whose name attribute is located at «string»:10:17196197 … while evaluating attribute 'result' of derivation 'clan-flake-select'198 at «string»:11:17:199 10| name = "clan-flake-select";200 11| result = builtins.toJSON [201 | ^202 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)203204 … while calling the 'toJSON' builtin205 at «string»:11:26:206 10| name = "clan-flake-select";207 11| result = builtins.toJSON [208 | ^209 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)210211 … while evaluating list element at index 0212213 … while evaluating attribute 'build02'214215 … while calling anonymous lambda216 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:325:37:217 324| in218 325| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) filteredAttrs219 | ^220 326| else if selector.type == "maybe" then221222 … from call site223 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:325:40:224 324| in225 325| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) filteredAttrs226 | ^227 326| else if selector.type == "maybe" then228229 … while calling 'recurse'230 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:265:25:231 264| recurse =232 265| selectors: idx: obj:233 | ^234 266| # we are done235236 … while evaluating a branch condition237 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:11:238 280| # lists239 281| if builtins.isList obj then240 | ^241 282| if selector.type == "all" then242243 … while calling the 'isList' builtin244 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:14:245 280| # lists246 281| if builtins.isList obj then247 | ^248 282| if selector.type == "all" then249250 … while calling the 'getAttr' builtin251 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:321:29:252 320| name = x.value;253 321| value = builtins.getAttr x.value obj;254 | ^255 322| }) attrsAvailable256257 … while calling anonymous lambda258 at /build/store/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix:106:14:259 105| lib.mapAttrs (260 106| _: machine:261 | ^262 107| machine.extendModules {263264 … from call site265 at /build/store/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix:107:11:266 106| _: machine:267 107| machine.extendModules {268 | ^269 108| modules = [270271 … while calling anonymous lambda272 at /build/store/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix:62:11:273 61| configurations = lib.mapAttrs (274 62| name: _:275 | ^276 63| moduleSystemConstructor.${machineClasses.${name}} {277278 … from call site279 at /build/store/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix:63:5:280 62| name: _:281 63| moduleSystemConstructor.${machineClasses.${name}} {282 | ^283 64| # ATTENTION!: Dont add any modules here.284285 … while calling 'darwinSystem'286 at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/flake.nix:21:22:287 20|288 21| darwinSystem = args@{ modules, ... }: self.lib.evalConfig (289 | ^290 22| { inherit (nixpkgs) lib; }291292 … from call site293 at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/flake.nix:21:45:294 20|295 21| darwinSystem = args@{ modules, ... }: self.lib.evalConfig (296 | ^297 22| { inherit (nixpkgs) lib; }298299 … while calling anonymous lambda300 at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:17:1:301 16|302 17| { lib303 | ^304 18| , modules305306 … in the condition of the assert statement307 at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:25:1:308 24|309 25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''310 | ^311 26|312313 … in the right operand of the IMPL (->) operator314 at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:25:34:315 24|316 25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''317 | ^318 26|319320 … in the right operand of the OR (||) operator321 at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:25:54:322 24|323 25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''324 | ^325 26|326327 … while calling the 'throw' builtin328 at /build/store/nix/store/14zjzcliw2s4vk9ncvnh4qr80sjhdqv9-source/eval-config.nix:25:57:329 24|330 25| assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''331 | ^332 26|333334 error:335 nix-darwin now uses release branches that correspond to Nixpkgs releases.336 The nix-darwin and Nixpkgs branches in use must match, but you are currently337 using nix-darwin 26.11 with Nixpkgs 26.05.338339 On macOS, you should use either the `nixpkgs-unstable` or340 `nixpkgs-YY.MM-darwin` branches of Nixpkgs. These correspond to the341 `master` and `nix-darwin-YY.MM` branches of nix-darwin, respectively. Check342 <https://status.nixos.org/> for the currently supported Nixpkgs releases.343344 If you’re using flakes, make sure your inputs look like this:345346 inputs = {347 nixpkgs.url = "github:NixOS/nixpkgs/NIXPKGS-BRANCH";348 nix-darwin.url = "github:nix-darwin/nix-darwin/NIX-DARWIN-BRANCH";349 nix-darwin.inputs.nixpkgs.follows = "nixpkgs";350 # …351 };352353 If you’re using channels, you can check your current channels with:354355 $ sudo nix-channel --list356 nixpkgs https://nixos.org/channels/NIXPKGS-BRANCH357 darwin https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz358 …359 $ nix-channel --list360 …361362 If `darwin` or `nixpkgs` are present in `nix-channel --list` (without363 `sudo`), you should delete them with `nix-channel --remove NAME`. These can364 contribute to version mismatch problems.365366 You can then fix your channels like this:367368 $ sudo nix-channel --add https://nixos.org/channels/NIXPKGS-BRANCH nixpkgs369 $ sudo nix-channel --add https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz darwin370 $ sudo nix-channel --update371372 After that, activating your system again should work correctly. If it373 doesn’t, please open an issue at374 <https://github.com/nix-darwin/nix-darwin/issues/new> and include as much375 information as possible.376377Return Code: 1378379380The above exception was the direct cause of the following exception:381382Traceback (most recent call last):383 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 503, in main384 args.func(args)385 ~~~~~~~~~^^^^^^386 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 26, in check_command387 ok = check_vars(machine.name, flake, generator_name=args.generator)388 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/vars/check.py", line 149, in check_vars389 status = vars_status(machine_name, flake, generator_name=generator_name)390 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/vars/check.py", line 63, in vars_status391 generators = get_machine_generators([machine.name], machine.flake)392 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/vars/generator.py", line 243, in get_machine_generators393 flake.precache(get_machine_selectors(machine_names))394 ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^395 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1151, in precache396 self.get_from_nix(not_fetched_selectors)397 ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^398 File "/nix/store/zvimf0lhvi59chba4lgplllbh7crm92w-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1094, in get_from_nix399 raise ClanSelectError(400 ...<3 lines>...401 ) from e402clan_lib.flake.flake.ClanSelectError: Error while executing:$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}'403$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}'404$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.?sops.?defaultGroups'405$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.publicModule'406$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.secretModule'407$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory'408$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand'409$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation'410$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?age.?secretLocation'411 Reason: nix-darwin now uses release branches that correspond to Nixpkgs releases.412 The nix-darwin and Nixpkgs branches in use must match, but you are currently413 using nix-darwin 26.11 with Nixpkgs 26.05.414415 On macOS, you should use either the `nixpkgs-unstable` or416 `nixpkgs-YY.MM-darwin` branches of Nixpkgs. These correspond to the417 `master` and `nix-darwin-YY.MM` branches of nix-darwin, respectively. Check418 <https://status.nixos.org/> for the currently supported Nixpkgs releases.419420 If you’re using flakes, make sure your inputs look like this:421422 inputs = {423 nixpkgs.url = "github:NixOS/nixpkgs/NIXPKGS-BRANCH";424 nix-darwin.url = "github:nix-darwin/nix-darwin/NIX-DARWIN-BRANCH";425 nix-darwin.inputs.nixpkgs.follows = "nixpkgs";426 # …427 };428429 If you’re using channels, you can check your current channels with:430431 $ sudo nix-channel --list432 nixpkgs https://nixos.org/channels/NIXPKGS-BRANCH433 darwin https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz434 …435 $ nix-channel --list436 …437438 If `darwin` or `nixpkgs` are present in `nix-channel --list` (without439 `sudo`), you should delete them with `nix-channel --remove NAME`. These can440 contribute to version mismatch problems.441442 You can then fix your channels like this:443444 $ sudo nix-channel --add https://nixos.org/channels/NIXPKGS-BRANCH nixpkgs445 $ sudo nix-channel --add https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz darwin446 $ sudo nix-channel --update447448 After that, activating your system again should work correctly. If it449 doesn’t, please open an issue at450 <https://github.com/nix-darwin/nix-darwin/issues/new> and include as much451 information as possible.. Use flag '--debug' to see full nix trace.452+ exitHandler453+ exitCode=1454+ set +e455+ '[' -n '' ']'456+ (( 1 != 0 ))457+ runHook failureHook458+ local hookName=failureHook459+ shift460+ local 'hooksSlice=failureHooks[@]'461+ local hook462+ for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"}463+ _logHook failureHook '_callImplicitHook 0 failureHook'464+ [[ -z 2 ]]465+ local hookKind=failureHook466+ local 'hookExpr=_callImplicitHook 0 failureHook'467+ shift 2468+ declare -F '_callImplicitHook 0 failureHook'469+ type -p '_callImplicitHook 0 failureHook'470+ [[ _callImplicitHook 0 failureHook != _callImplicitHook* ]]471+ _eval '_callImplicitHook 0 failureHook'472+ declare -F '_callImplicitHook 0 failureHook'473+ eval '_callImplicitHook 0 failureHook'474++ _callImplicitHook 0 failureHook475++ local def=0476++ local hookName=failureHook477++ declare -F failureHook478++ type -p failureHook479++ '[' -n '' ']'480++ return 0481+ return 0482+ '[' -n '' ']'483+ return 1