check-vars
aarch64-linux.vars
· build #8
· 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/gkpgi2py9ry1pjq8kwpy50nnqjqa149r-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/pwzv0gvph47cya8jdjhp3vnh0dsxq2mh-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/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-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/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-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/4cd38d19366a8fa5d8de21016b47da4287c9cd4a58(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[build-x86-01] Secret var 'identity-secret' for service 'zerotier-identity-build-x86-01' in machine build-x86-01 is missing.76[build-x86-01] Public var 'ip' for service 'zerotier-ip-build-x86-01-zerotier-claninfra' in machine build-x86-01 is missing.77[build-x86-01] Public var 'network-id' for service 'zerotier-network-zerotier-claninfra' in machine build-x86-01 is missing.78Check results for machine 'build-x86-01': 79Missing secret vars:80 - zerotier-identity-build-x86-01/identity-secret81Missing public vars:82 - zerotier-ip-build-x86-01-zerotier-claninfra/ip83 - zerotier-network-zerotier-claninfra/network-id8485Precaching selectors:86 - (cached) clanInternals.?secrets.?age.?plugins87 - (cached) clanInternals.inventoryClass.relativeDirectory88 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}89 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}90 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups91 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.settings.publicModule92 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.settings.secretModule93 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?sops.?secretUploadDirectory94 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?password-store.?passCommand95 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?password-store.?secretLocation96 - (cached) clanInternals.vars.settings.?recipients97 - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?age.?secretLocation98Loading flake cache from file /build/clan-flake-cache/flakes-v2/4cd38d19366a8fa5d8de21016b47da4287c9cd4a99(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}'100(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}'101(cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.publicModule'102(cached) $ clan select clanInternals.inventoryClass.relativeDirectory103(cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.secretModule'104(cached) $ clan select clanInternals.inventoryClass.relativeDirectory105(cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.secretModule'106(cached) $ clan select clanInternals.inventoryClass.relativeDirectory107(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.vars.settings.publicModule'109(cached) $ clan select clanInternals.inventoryClass.relativeDirectory110(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'113(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'114(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'115(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'116(cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups'117[build01] Secret var 'identity-secret' for service 'zerotier-identity-build01' in machine build01 is missing.118[build01] Public var 'ip' for service 'zerotier-ip-build01-zerotier-claninfra' in machine build01 is missing.119[build01] Public var 'network-id' for service 'zerotier-network-zerotier-claninfra' in machine build01 is missing.120Check results for machine 'build01': 121Missing secret vars:122 - zerotier-identity-build01/identity-secret123Missing public vars:124 - zerotier-ip-build01-zerotier-claninfra/ip125 - zerotier-network-zerotier-claninfra/network-id126127Precaching selectors:128 - (cached) clanInternals.?secrets.?age.?plugins129 - (cached) clanInternals.inventoryClass.relativeDirectory130 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}131 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}132 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.?sops.?defaultGroups133 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.publicModule134 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.secretModule135 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory136 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand137 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation138 - (cached) clanInternals.vars.settings.?recipients139 - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?age.?secretLocation140Exited with error141Traceback (most recent call last):142 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1076, in get_from_nix143 run(144 ~~~^145 nix_build(["--expr", nix_code, *nix_options]),146 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^147 RunOpts(log=Log.NONE, trace=trace),148 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^149 ).stdout.strip(),150 ^151 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/cmd/__init__.py", line 451, in run152 raise ClanCmdError(cmd_out)153clan_lib.errors.ClanCmdError: 154=================================== Command ====================================155nix \156 --extra-experimental-features 'nix-command flakes' \157 --option warn-dirty \158 false \159 build \160 --flake-registry '' \161 --print-out-paths --print-build-logs \162 --show-trace --no-link \163 --expr '164 let165 flake = builtins.getFlake "path:/nix/store/pwzv0gvph47cya8jdjhp3vnh0dsxq2mh-source?narHash=sha256-ojWhBWTgnqQyL7npNMx0AmujiJx05R2jD3yOzDNaomQ=";166 selectLib = (167 builtins.getFlake168 "path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg="169 ).lib;170 in171 derivation {172 name = "clan-flake-select";173 result = builtins.toJSON [174 (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)175 ];176177 # We can always build this derivation locally, since /bin/sh is system independent,178 # remote builders would introduce needless overhead.179 preferLocalBuild = true;180 # Save the roundtrip to check the binary caches for trivial substitutions181 allowSubstitutes = false;182183 passAsFile = [ "result" ];184 system = "aarch64-linux";185 builder = "/bin/sh";186 args = [187 "-c"188 '"'"''"'"'189 read -r x < "$resultPath"; printf %s "$x" > $out190 '"'"''"'"'191 ];192 }193 ' \194 --store /build/store195196==================================== Stderr ====================================197warning: you don't have Internet access; disabling some network-dependent features198error:199 … while calling the 'derivationStrict' builtin200 at <nix/derivation-internal.nix>:37:12:201 36|202 37| strict = derivationStrict drvAttrs;203 | ^204 38|205206 … while evaluating derivation 'clan-flake-select'207 whose name attribute is located at «string»:10:17208209 … while evaluating attribute 'result' of derivation 'clan-flake-select'210 at «string»:11:17:211 10| name = "clan-flake-select";212 11| result = builtins.toJSON [213 | ^214 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)215216 … while calling the 'toJSON' builtin217 at «string»:11:26:218 10| name = "clan-flake-select";219 11| result = builtins.toJSON [220 | ^221 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)222223 … while evaluating list element at index 0224225 … while evaluating attribute 'build02'226227 … while evaluating attribute 'openssh'228229 … while calling anonymous lambda230 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:310:37:231 309| if selector.type == "all" then232 310| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) obj233 | ^234 311| else if selector.type == "str" then235236 … from call site237 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:310:40:238 309| if selector.type == "all" then239 310| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) obj240 | ^241 311| else if selector.type == "str" then242243 … while calling 'recurse'244 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:265:25:245 264| recurse =246 265| selectors: idx: obj:247 | ^248 266| # we are done249250 … while evaluating a branch condition251 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:11:252 280| # lists253 281| if builtins.isList obj then254 | ^255 282| if selector.type == "all" then256257 … while calling the 'isList' builtin258 at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:14:259 280| # lists260 281| if builtins.isList obj then261 | ^262 282| if selector.type == "all" then263264 … while calling anonymous lambda265 at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/types.nix:890:18:266 889| value = mapAttrs (267 890| n: v:268 | ^269 891| if lazy then270271 … while evaluating the attribute 'optionalValue.value'272 at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/modules.nix:1330:41:273 1329|274 1330| optionalValue = if isDefined then { value = mergedValue; } else { };275 | ^276 1331| };277278 … while evaluating the attribute 'value'279 at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/types.nix:1323:13:280 1322| headError = checkDefsForError check loc defs;281 1323| value = configuration.config;282 | ^283 1324| valueMeta = { inherit configuration; };284285 … while evaluating the attribute 'config'286 at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/modules.nix:402:9:287 401| options = checked options;288 402| config = checked (removeAttrs config [ "_module" ]);289 | ^290 403| _module = checked (config._module);291292 … while calling the 'seq' builtin293 at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/modules.nix:402:18:294 401| options = checked options;295 402| config = checked (removeAttrs config [ "_module" ]);296 | ^297 403| _module = checked (config._module);298299 … while calling the 'throw' builtin300 at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/modules.nix:374:13:301 373| else302 374| throw baseMsg303 | ^304 375| else305306 error: The option `clan.core.vars.generators.openssh.migrateFact' does not exist. Definition values:307 - In `/nix/store/pwzv0gvph47cya8jdjhp3vnh0dsxq2mh-source/modules/darwin/sshd.nix': "openssh"308309 Did you mean `clan.core.vars.generators.openssh.files', `clan.core.vars.generators.openssh.finalScript' or `clan.core.vars.generators.openssh.name'?310311Return Code: 1312313314The above exception was the direct cause of the following exception:315316Traceback (most recent call last):317 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 503, in main318 args.func(args)319 ~~~~~~~~~^^^^^^320 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 26, in check_command321 ok = check_vars(machine.name, flake, generator_name=args.generator)322 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/vars/check.py", line 149, in check_vars323 status = vars_status(machine_name, flake, generator_name=generator_name)324 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/vars/check.py", line 63, in vars_status325 generators = get_machine_generators([machine.name], machine.flake)326 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/vars/generator.py", line 243, in get_machine_generators327 flake.precache(get_machine_selectors(machine_names))328 ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^329 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1151, in precache330 self.get_from_nix(not_fetched_selectors)331 ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^332 File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1094, in get_from_nix333 raise ClanSelectError(334 ...<3 lines>...335 ) from e336clan_lib.flake.flake.ClanSelectError: Error while executing:$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}'337$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}'338$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.?sops.?defaultGroups'339$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.publicModule'340$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.secretModule'341$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory'342$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand'343$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation'344$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?age.?secretLocation'345 Reason: The option `clan.core.vars.generators.openssh.migrateFact' does not exist. Definition values:346 - In `/nix/store/pwzv0gvph47cya8jdjhp3vnh0dsxq2mh-source/modules/darwin/sshd.nix': "openssh"347348 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.349+ exitHandler350+ exitCode=1351+ set +e352+ '[' -n '' ']'353+ (( 1 != 0 ))354+ runHook failureHook355+ local hookName=failureHook356+ shift357+ local 'hooksSlice=failureHooks[@]'358+ local hook359+ for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"}360+ _logHook failureHook '_callImplicitHook 0 failureHook'361+ [[ -z 2 ]]362+ local hookKind=failureHook363+ local 'hookExpr=_callImplicitHook 0 failureHook'364+ shift 2365+ declare -F '_callImplicitHook 0 failureHook'366+ type -p '_callImplicitHook 0 failureHook'367+ [[ _callImplicitHook 0 failureHook != _callImplicitHook* ]]368+ _eval '_callImplicitHook 0 failureHook'369+ declare -F '_callImplicitHook 0 failureHook'370+ eval '_callImplicitHook 0 failureHook'371++ _callImplicitHook 0 failureHook372++ local def=0373++ local hookName=failureHook374++ declare -F failureHook375++ type -p failureHook376++ '[' -n '' ']'377++ return 0378+ return 0379+ '[' -n '' ']'380+ return 1