check-vars
checks.x86_64-linux.vars
· build #590
· 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/45kx88qvlz099i8y1bsnwbbsb68pdqrb-closure-info ]]20++++ nproc21+++ /nix/store/i4kjidyvl8ciwbcwm75g75sriq3knav0-findutils-4.11.0/bin/xargs -r -P32 /nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/cp --recursive --no-dereference --reflink=auto --target-directory /build/store/nix/store22+++ /nix/store/7vb637v8mqbycvmpwfl5q93ikr2xjpay-nix-2.34.8/bin/nix-store --load-db --store /build/store23+++ mkdir -p self24+++ cp -r --no-target-directory /nix/store/y5l6hwq8b373cnkmclp8b5l1zs100p4w-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/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/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/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/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.x86_64-linux.{build-x86-01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}48 - (not cached) clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}49 - (not cached) clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups50 - (not cached) clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.settings.publicModule51 - (not cached) clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.settings.secretModule52 - (not cached) clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.?sops.?secretUploadDirectory53 - (not cached) clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.?password-store.?passCommand54 - (not cached) clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.?password-store.?secretLocation55 - (not cached) clanInternals.vars.settings.?recipients56 - (not cached) clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.?age.?secretLocation57Loading flake cache from file /build/clan-flake-cache/flakes-v2/7186923bcaa84edf0d49cbbe37b364561e49aa5658(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}'59(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}'60(cached) $ clan select 'clanInternals.machines.x86_64-linux."build-x86-01".config.clan.core.vars.settings.publicModule'61(cached) $ clan select clanInternals.inventoryClass.relativeDirectory62(cached) $ clan select 'clanInternals.machines.x86_64-linux."build-x86-01".config.clan.core.vars.settings.secretModule'63(cached) $ clan select clanInternals.inventoryClass.relativeDirectory64(cached) $ clan select 'clanInternals.machines.x86_64-linux."build-x86-01".config.clan.core.vars.settings.secretModule'65(cached) $ clan select clanInternals.inventoryClass.relativeDirectory66(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'67(cached) $ clan select 'clanInternals.machines.x86_64-linux."build-x86-01".config.clan.core.vars.settings.publicModule'68(cached) $ clan select clanInternals.inventoryClass.relativeDirectory69(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'70(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'71(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'72(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'73(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'74(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'75(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'76(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'77(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'78(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups'79[build-x86-01] Secret var 'identity-secret' for service 'zerotier-identity-build-x86-01' in machine build-x86-01 is missing.80[build-x86-01] Public var 'ip' for service 'zerotier-ip-build-x86-01-zerotier-claninfra' in machine build-x86-01 is missing.81[build-x86-01] Public var 'network-id' for service 'zerotier-network-zerotier-claninfra' in machine build-x86-01 is missing.82Check results for machine 'build-x86-01': 83Missing secret vars:84 - zerotier-identity-build-x86-01/identity-secret85Missing public vars:86 - zerotier-ip-build-x86-01-zerotier-claninfra/ip87 - zerotier-network-zerotier-claninfra/network-id8889Precaching selectors:90 - (cached) clanInternals.?secrets.?age.?plugins91 - (cached) clanInternals.inventoryClass.relativeDirectory92 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}93 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}94 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups95 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.settings.publicModule96 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.settings.secretModule97 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.?sops.?secretUploadDirectory98 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.?password-store.?passCommand99 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.?password-store.?secretLocation100 - (cached) clanInternals.vars.settings.?recipients101 - (not cached) clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.?age.?secretLocation102Loading flake cache from file /build/clan-flake-cache/flakes-v2/7186923bcaa84edf0d49cbbe37b364561e49aa56103(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}'104(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}'105(cached) $ clan select 'clanInternals.machines.x86_64-linux."build01".config.clan.core.vars.settings.publicModule'106(cached) $ clan select clanInternals.inventoryClass.relativeDirectory107(cached) $ clan select 'clanInternals.machines.x86_64-linux."build01".config.clan.core.vars.settings.secretModule'108(cached) $ clan select clanInternals.inventoryClass.relativeDirectory109(cached) $ clan select 'clanInternals.machines.x86_64-linux."build01".config.clan.core.vars.settings.secretModule'110(cached) $ clan select clanInternals.inventoryClass.relativeDirectory111(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'112(cached) $ clan select 'clanInternals.machines.x86_64-linux."build01".config.clan.core.vars.settings.publicModule'113(cached) $ clan select clanInternals.inventoryClass.relativeDirectory114(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'115(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'116(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'117(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'118(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'119(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'120(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'121(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'122(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'123(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'124(cached) $ clan select 'clanInternals.machines.x86_64-linux.{build01}.config.clan.core.?sops.?defaultGroups'125[build01] Secret var 'identity-secret' for service 'zerotier-identity-build01' in machine build01 is missing.126[build01] Public var 'ip' for service 'zerotier-ip-build01-zerotier-claninfra' in machine build01 is missing.127[build01] Public var 'network-id' for service 'zerotier-network-zerotier-claninfra' in machine build01 is missing.128Check results for machine 'build01': 129Missing secret vars:130 - zerotier-identity-build01/identity-secret131Missing public vars:132 - zerotier-ip-build01-zerotier-claninfra/ip133 - zerotier-network-zerotier-claninfra/network-id134135Precaching selectors:136 - (cached) clanInternals.?secrets.?age.?plugins137 - (cached) clanInternals.inventoryClass.relativeDirectory138 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}139 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}140 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.?sops.?defaultGroups141 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.settings.publicModule142 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.settings.secretModule143 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory144 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand145 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation146 - (cached) clanInternals.vars.settings.?recipients147 - (not cached) clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.?age.?secretLocation148Exited with error149Traceback (most recent call last):150 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_lib/flake/flake.py", line 1076, in get_from_nix151 run(152 ~~~^153 nix_build(["--expr", nix_code, *nix_options]),154 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^155 RunOpts(log=Log.NONE, trace=trace),156 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^157 ).stdout.strip(),158 ^159 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_lib/cmd/__init__.py", line 451, in run160 raise ClanCmdError(cmd_out)161clan_lib.errors.ClanCmdError: 162=================================== Command ====================================163nix \164 --extra-experimental-features 'nix-command flakes' \165 --option warn-dirty \166 false \167 build \168 --flake-registry '' \169 --print-out-paths --print-build-logs \170 --show-trace --no-link \171 --expr '172 let173 flake = builtins.getFlake "path:/nix/store/y5l6hwq8b373cnkmclp8b5l1zs100p4w-source?narHash=sha256-UnlYkxYl6M0oDm2yupB/mYWcCRJMX69YN26QRaswxik=";174 selectLib = (175 builtins.getFlake176 "path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg="177 ).lib;178 in179 derivation {180 name = "clan-flake-select";181 result = builtins.toJSON [182 (selectLib.applySelectors (builtins.fromJSON '"'"''"'"'[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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)183 ];184185 # We can always build this derivation locally, since /bin/sh is system independent,186 # remote builders would introduce needless overhead.187 preferLocalBuild = true;188 # Save the roundtrip to check the binary caches for trivial substitutions189 allowSubstitutes = false;190191 passAsFile = [ "result" ];192 system = "x86_64-linux";193 builder = "/bin/sh";194 args = [195 "-c"196 '"'"''"'"'197 read -r x < "$resultPath"; printf %s "$x" > $out198 '"'"''"'"'199 ];200 }201 ' \202 --store /build/store203204==================================== Stderr ====================================205warning: you don't have Internet access; disabling some network-dependent features206error:207 … while calling the 'derivationStrict' builtin208 at <nix/derivation-internal.nix>:37:12:209 36|210 37| strict = derivationStrict drvAttrs;211 | ^212 38|213214 … while evaluating derivation 'clan-flake-select'215 whose name attribute is located at «string»:10:17216217 … while evaluating attribute 'result' of derivation 'clan-flake-select'218 at «string»:11:17:219 10| name = "clan-flake-select";220 11| result = builtins.toJSON [221 | ^222 12| (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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)223224 … while calling the 'toJSON' builtin225 at «string»:11:26:226 10| name = "clan-flake-select";227 11| result = builtins.toJSON [228 | ^229 12| (selectLib.applySelectors (builtins.fromJSON ''[{"type": "str", "value": "clanInternals"}, {"type": "str", "value": "machines"}, {"type": "str", "value": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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": "x86_64-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)230231 … while evaluating list element at index 0232233 … while evaluating attribute 'build02'234235 … while evaluating attribute 'openssh'236237 … while calling anonymous lambda238 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:310:37:239 309| if selector.type == "all" then240 310| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) obj241 | ^242 311| else if selector.type == "str" then243244 … from call site245 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:310:40:246 309| if selector.type == "all" then247 310| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) obj248 | ^249 311| else if selector.type == "str" then250251 … while calling 'recurse'252 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:265:25:253 264| recurse =254 265| selectors: idx: obj:255 | ^256 266| # we are done257258 … while evaluating a branch condition259 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:11:260 280| # lists261 281| if builtins.isList obj then262 | ^263 282| if selector.type == "all" then264265 … while calling the 'isList' builtin266 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:14:267 280| # lists268 281| if builtins.isList obj then269 | ^270 282| if selector.type == "all" then271272 … while calling anonymous lambda273 at /build/store/nix/store/9pzxgnnqcis3xifbf4ynawzyk2aihab9-source/lib/types.nix:1029:18:274 1028| value = mapAttrs (275 1029| n: v:276 | ^277 1030| if lazy then278279 … while evaluating the attribute 'optionalValue.value'280 at /build/store/nix/store/9pzxgnnqcis3xifbf4ynawzyk2aihab9-source/lib/modules.nix:1311:41:281 1310|282 1311| optionalValue = if isDefined then { value = mergedValue; } else { };283 | ^284 1312| };285286 … while evaluating the attribute 'value'287 at /build/store/nix/store/9pzxgnnqcis3xifbf4ynawzyk2aihab9-source/lib/types.nix:1484:13:288 1483| headError = checkDefsForError check loc defs;289 1484| value = configuration.config;290 | ^291 1485| valueMeta = { inherit configuration; };292293 … while evaluating the attribute 'config'294 at /build/store/nix/store/9pzxgnnqcis3xifbf4ynawzyk2aihab9-source/lib/modules.nix:401:9:295 400| options = checked options;296 401| config = checked (removeAttrs config [ "_module" ]);297 | ^298 402| _module = checked (config._module);299300 … while calling the 'seq' builtin301 at /build/store/nix/store/9pzxgnnqcis3xifbf4ynawzyk2aihab9-source/lib/modules.nix:401:18:302 400| options = checked options;303 401| config = checked (removeAttrs config [ "_module" ]);304 | ^305 402| _module = checked (config._module);306307 … while calling the 'throw' builtin308 at /build/store/nix/store/9pzxgnnqcis3xifbf4ynawzyk2aihab9-source/lib/modules.nix:373:13:309 372| else310 373| throw baseMsg311 | ^312 374| else313314 error: The option `clan.core.vars.generators.openssh.migrateFact' does not exist. Definition values:315 - In `/nix/store/y5l6hwq8b373cnkmclp8b5l1zs100p4w-source/modules/darwin/sshd.nix': "openssh"316317 Did you mean `clan.core.vars.generators.openssh.files', `clan.core.vars.generators.openssh.finalScript' or `clan.core.vars.generators.openssh.name'?318319Return Code: 1320321322The above exception was the direct cause of the following exception:323324Traceback (most recent call last):325 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_cli/cli.py", line 471, in main326 args.func(args)327 ~~~~~~~~~^^^^^^328 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_cli/vars/check.py", line 26, in check_command329 ok = check_vars(machine.name, flake, generator_name=args.generator)330 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_lib/vars/check.py", line 149, in check_vars331 status = vars_status(machine_name, flake, generator_name=generator_name)332 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_lib/vars/check.py", line 63, in vars_status333 generators = get_machine_generators([machine.name], machine.flake)334 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_lib/vars/generator.py", line 243, in get_machine_generators335 flake.precache(get_machine_selectors(machine_names))336 ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^337 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_lib/flake/flake.py", line 1151, in precache338 self.get_from_nix(not_fetched_selectors)339 ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^340 File "/nix/store/xx6dlpr9ik5k9rsnavbvv07ksb5m3z5r-clan-cli/lib/python3.14/site-packages/clan_lib/flake/flake.py", line 1094, in get_from_nix341 raise ClanSelectError(342 ...<3 lines>...343 ) from e344clan_lib.flake.flake.ClanSelectError: Error while executing:$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}'345$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}'346$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.?sops.?defaultGroups'347$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.settings.publicModule'348$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.settings.secretModule'349$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory'350$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand'351$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation'352$ clan select 'clanInternals.machines.x86_64-linux.{build02}.config.clan.core.vars.?age.?secretLocation'353 Reason: The option `clan.core.vars.generators.openssh.migrateFact' does not exist. Definition values:354 - In `/nix/store/y5l6hwq8b373cnkmclp8b5l1zs100p4w-source/modules/darwin/sshd.nix': "openssh"355356 Did you mean `clan.core.vars.generators.openssh.files', `clan.core.vars.generators.openssh.finalScript' or `clan.core.vars.generators.openssh.name'?. Use flag '--debug' to see full nix trace.357+ exitHandler358+ exitCode=1359+ set +e360+ '[' -n '' ']'361+ (( 1 != 0 ))362+ runHook failureHook363+ local hookName=failureHook364+ shift365+ local 'hooksSlice=failureHooks[@]'366+ local hook367+ for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"}368+ _logHook failureHook '_callImplicitHook 0 failureHook'369+ [[ -z 2 ]]370+ local hookKind=failureHook371+ local 'hookExpr=_callImplicitHook 0 failureHook'372+ shift 2373+ declare -F '_callImplicitHook 0 failureHook'374+ type -p '_callImplicitHook 0 failureHook'375+ [[ _callImplicitHook 0 failureHook != _callImplicitHook* ]]376+ _eval '_callImplicitHook 0 failureHook'377+ declare -F '_callImplicitHook 0 failureHook'378+ eval '_callImplicitHook 0 failureHook'379++ _callImplicitHook 0 failureHook380++ local def=0381++ local hookName=failureHook382++ declare -F failureHook383++ type -p failureHook384++ '[' -n '' ']'385++ return 0386+ return 0387+ '[' -n '' ']'388+ return 1