these 2 derivations will be built: /nix/store/pp69pl534f6928dvypp51dh5jbsq02ad-closure-info.drv /nix/store/iwm674w41q2p13hsmlqw8fq655r7bm1z-check-vars.drv building '/nix/store/pp69pl534f6928dvypp51dh5jbsq02ad-closure-info.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/pp69pl534f6928dvypp51dh5jbsq02ad-closure-info.drv' closure-info> structuredAttrs is enabled building '/nix/store/iwm674w41q2p13hsmlqw8fq655r7bm1z-check-vars.drv' on 'ssh-ng://builder@build01.clan.lol' building '/nix/store/iwm674w41q2p13hsmlqw8fq655r7bm1z-check-vars.drv' check-vars> +++ export HOME=/build check-vars> +++ HOME=/build check-vars> +++ export NIX_STATE_DIR=/build/nix check-vars> +++ NIX_STATE_DIR=/build/nix check-vars> +++ export NIX_CONF_DIR=/build/etc check-vars> +++ NIX_CONF_DIR=/build/etc check-vars> +++ mkdir -p /build/etc check-vars> +++ echo 'fsync-metadata = false' check-vars> +++ export IN_NIX_SANDBOX=1 check-vars> +++ IN_NIX_SANDBOX=1 check-vars> +++ export CLAN_TEST_STORE=/build/store check-vars> +++ CLAN_TEST_STORE=/build/store check-vars> +++ export LOCK_NIX=/build/nix_lock check-vars> +++ LOCK_NIX=/build/nix_lock check-vars> +++ export CLAN_TEST_FLAKE_CACHE=/build/clan-flake-cache check-vars> +++ CLAN_TEST_FLAKE_CACHE=/build/clan-flake-cache check-vars> +++ mkdir -p /build/store/nix/store /build/clan-flake-cache check-vars> +++ mkdir -p /build/store/nix/var/nix/gcroots check-vars> +++ [[ -n /nix/store/gkpgi2py9ry1pjq8kwpy50nnqjqa149r-closure-info ]] check-vars> ++++ nproc check-vars> +++ /nix/store/gbd7xfq2d1wbrwr2i045mvc8fkkw7i1g-findutils-4.10.0/bin/xargs -r -P80 /nix/store/9bhf1ff1kwhmyynws5jkjp8k7pkh6kix-coreutils-9.11/bin/cp --recursive --no-dereference --reflink=auto --target-directory /build/store/nix/store check-vars> +++ /nix/store/mcjjqdfn8024cyhr0nqg9a9p3g5cj727-nix-2.34.7/bin/nix-store --load-db --store /build/store check-vars> +++ mkdir -p self check-vars> +++ cp -r --no-target-directory /nix/store/pwzv0gvph47cya8jdjhp3vnh0dsxq2mh-source self check-vars> +++ clan vars check --flake ./self --debug check-vars> Debug log activated check-vars> Prefetching flake ./self check-vars> warning: you don't have Internet access; disabling some network-dependent features check-vars> Cache miss for clanInternals.inventoryClass.inventorySerialization.{instances,machines,meta} check-vars> nix \ check-vars> --extra-experimental-features 'nix-command flakes' \ check-vars> --option warn-dirty \ check-vars> false \ check-vars> config \ check-vars> show \ check-vars> --json --store \ check-vars> /build/store check-vars> Caller: /nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/nix/__init__.py:91::nix_config check-vars> check-vars> warning: you don't have Internet access; disabling some network-dependent features check-vars> Command exited with return code 0 check-vars> Caller: /nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/nix/__init__.py:91::nix_config check-vars> check-vars> Precaching selectors: check-vars> - (not cached) clanInternals.?secrets.?age.?plugins check-vars> - (not cached) clanInternals.inventoryClass.relativeDirectory check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash} check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor} check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.settings.publicModule check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.settings.secretModule check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?sops.?secretUploadDirectory check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?password-store.?passCommand check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?password-store.?secretLocation check-vars> - (not cached) clanInternals.vars.settings.?recipients check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.?age.?secretLocation check-vars> Loading flake cache from file /build/clan-flake-cache/flakes-v2/4cd38d19366a8fa5d8de21016b47da4287c9cd4a check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.publicModule' check-vars> (cached) $ clan select clanInternals.inventoryClass.relativeDirectory check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.secretModule' check-vars> (cached) $ clan select clanInternals.inventoryClass.relativeDirectory check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.secretModule' check-vars> (cached) $ clan select clanInternals.inventoryClass.relativeDirectory check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux."build-x86-01".config.clan.core.vars.settings.publicModule' check-vars> (cached) $ clan select clanInternals.inventoryClass.relativeDirectory check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build-x86-01}.config.clan.core.?sops.?defaultGroups' check-vars> [build-x86-01] Secret var 'identity-secret' for service 'zerotier-identity-build-x86-01' in machine build-x86-01 is missing. check-vars> [build-x86-01] Public var 'ip' for service 'zerotier-ip-build-x86-01-zerotier-claninfra' in machine build-x86-01 is missing. check-vars> [build-x86-01] Public var 'network-id' for service 'zerotier-network-zerotier-claninfra' in machine build-x86-01 is missing. check-vars> Check results for machine 'build-x86-01': check-vars> Missing secret vars: check-vars> - zerotier-identity-build-x86-01/identity-secret check-vars> Missing public vars: check-vars> - zerotier-ip-build-x86-01-zerotier-claninfra/ip check-vars> - zerotier-network-zerotier-claninfra/network-id check-vars> check-vars> Precaching selectors: check-vars> - (cached) clanInternals.?secrets.?age.?plugins check-vars> - (cached) clanInternals.inventoryClass.relativeDirectory check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash} check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor} check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.settings.publicModule check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.settings.secretModule check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?sops.?secretUploadDirectory check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?password-store.?passCommand check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?password-store.?secretLocation check-vars> - (cached) clanInternals.vars.settings.?recipients check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.?age.?secretLocation check-vars> Loading flake cache from file /build/clan-flake-cache/flakes-v2/4cd38d19366a8fa5d8de21016b47da4287c9cd4a check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.publicModule' check-vars> (cached) $ clan select clanInternals.inventoryClass.relativeDirectory check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.secretModule' check-vars> (cached) $ clan select clanInternals.inventoryClass.relativeDirectory check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.secretModule' check-vars> (cached) $ clan select clanInternals.inventoryClass.relativeDirectory check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux."build01".config.clan.core.vars.settings.publicModule' check-vars> (cached) $ clan select clanInternals.inventoryClass.relativeDirectory check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' check-vars> (cached) $ clan select 'clanInternals.machines.aarch64-linux.{build01}.config.clan.core.?sops.?defaultGroups' check-vars> [build01] Secret var 'identity-secret' for service 'zerotier-identity-build01' in machine build01 is missing. check-vars> [build01] Public var 'ip' for service 'zerotier-ip-build01-zerotier-claninfra' in machine build01 is missing. check-vars> [build01] Public var 'network-id' for service 'zerotier-network-zerotier-claninfra' in machine build01 is missing. check-vars> Check results for machine 'build01': check-vars> Missing secret vars: check-vars> - zerotier-identity-build01/identity-secret check-vars> Missing public vars: check-vars> - zerotier-ip-build01-zerotier-claninfra/ip check-vars> - zerotier-network-zerotier-claninfra/network-id check-vars> check-vars> Precaching selectors: check-vars> - (cached) clanInternals.?secrets.?age.?plugins check-vars> - (cached) clanInternals.inventoryClass.relativeDirectory check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash} check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor} check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.?sops.?defaultGroups check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.publicModule check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.secretModule check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation check-vars> - (cached) clanInternals.vars.settings.?recipients check-vars> - (not cached) clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?age.?secretLocation check-vars> Exited with error check-vars> Traceback (most recent call last): check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1076, in get_from_nix check-vars> run( check-vars> ~~~^ check-vars> nix_build(["--expr", nix_code, *nix_options]), check-vars> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check-vars> RunOpts(log=Log.NONE, trace=trace), check-vars> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check-vars> ).stdout.strip(), check-vars> ^ check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/cmd/__init__.py", line 451, in run check-vars> raise ClanCmdError(cmd_out) check-vars> clan_lib.errors.ClanCmdError: check-vars> =================================== Command ==================================== check-vars> nix \ check-vars> --extra-experimental-features 'nix-command flakes' \ check-vars> --option warn-dirty \ check-vars> false \ check-vars> build \ check-vars> --flake-registry '' \ check-vars> --print-out-paths --print-build-logs \ check-vars> --show-trace --no-link \ check-vars> --expr ' check-vars> let check-vars> flake = builtins.getFlake "path:/nix/store/pwzv0gvph47cya8jdjhp3vnh0dsxq2mh-source?narHash=sha256-ojWhBWTgnqQyL7npNMx0AmujiJx05R2jD3yOzDNaomQ="; check-vars> selectLib = ( check-vars> builtins.getFlake check-vars> "path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg=" check-vars> ).lib; check-vars> in check-vars> derivation { check-vars> name = "clan-flake-select"; check-vars> result = builtins.toJSON [ check-vars> (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) check-vars> ]; check-vars> check-vars> # We can always build this derivation locally, since /bin/sh is system independent, check-vars> # remote builders would introduce needless overhead. check-vars> preferLocalBuild = true; check-vars> # Save the roundtrip to check the binary caches for trivial substitutions check-vars> allowSubstitutes = false; check-vars> check-vars> passAsFile = [ "result" ]; check-vars> system = "aarch64-linux"; check-vars> builder = "/bin/sh"; check-vars> args = [ check-vars> "-c" check-vars> '"'"''"'"' check-vars> read -r x < "$resultPath"; printf %s "$x" > $out check-vars> '"'"''"'"' check-vars> ]; check-vars> } check-vars> ' \ check-vars> --store /build/store check-vars> check-vars> ==================================== Stderr ==================================== check-vars> warning: you don't have Internet access; disabling some network-dependent features check-vars> error: check-vars> … while calling the 'derivationStrict' builtin check-vars> at :37:12: check-vars> 36| check-vars> 37| strict = derivationStrict drvAttrs; check-vars> | ^ check-vars> 38| check-vars> check-vars> … while evaluating derivation 'clan-flake-select' check-vars> whose name attribute is located at «string»:10:17 check-vars> check-vars> … while evaluating attribute 'result' of derivation 'clan-flake-select' check-vars> at «string»:11:17: check-vars> 10| name = "clan-flake-select"; check-vars> 11| result = builtins.toJSON [ check-vars> | ^ check-vars> 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) check-vars> check-vars> … while calling the 'toJSON' builtin check-vars> at «string»:11:26: check-vars> 10| name = "clan-flake-select"; check-vars> 11| result = builtins.toJSON [ check-vars> | ^ check-vars> 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) check-vars> check-vars> … while evaluating list element at index 0 check-vars> check-vars> … while evaluating attribute 'build02' check-vars> check-vars> … while evaluating attribute 'openssh' check-vars> check-vars> … while calling anonymous lambda check-vars> at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:310:37: check-vars> 309| if selector.type == "all" then check-vars> 310| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) obj check-vars> | ^ check-vars> 311| else if selector.type == "str" then check-vars> check-vars> … from call site check-vars> at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:310:40: check-vars> 309| if selector.type == "all" then check-vars> 310| builtins.mapAttrs (_: v: recurse selectors (idx + 1) v) obj check-vars> | ^ check-vars> 311| else if selector.type == "str" then check-vars> check-vars> … while calling 'recurse' check-vars> at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:265:25: check-vars> 264| recurse = check-vars> 265| selectors: idx: obj: check-vars> | ^ check-vars> 266| # we are done check-vars> check-vars> … while evaluating a branch condition check-vars> at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:11: check-vars> 280| # lists check-vars> 281| if builtins.isList obj then check-vars> | ^ check-vars> 282| if selector.type == "all" then check-vars> check-vars> … while calling the 'isList' builtin check-vars> at /build/store/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source/select.nix:281:14: check-vars> 280| # lists check-vars> 281| if builtins.isList obj then check-vars> | ^ check-vars> 282| if selector.type == "all" then check-vars> check-vars> … while calling anonymous lambda check-vars> at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/types.nix:890:18: check-vars> 889| value = mapAttrs ( check-vars> 890| n: v: check-vars> | ^ check-vars> 891| if lazy then check-vars> check-vars> … while evaluating the attribute 'optionalValue.value' check-vars> at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/modules.nix:1330:41: check-vars> 1329| check-vars> 1330| optionalValue = if isDefined then { value = mergedValue; } else { }; check-vars> | ^ check-vars> 1331| }; check-vars> check-vars> … while evaluating the attribute 'value' check-vars> at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/types.nix:1323:13: check-vars> 1322| headError = checkDefsForError check loc defs; check-vars> 1323| value = configuration.config; check-vars> | ^ check-vars> 1324| valueMeta = { inherit configuration; }; check-vars> check-vars> … while evaluating the attribute 'config' check-vars> at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/modules.nix:402:9: check-vars> 401| options = checked options; check-vars> 402| config = checked (removeAttrs config [ "_module" ]); check-vars> | ^ check-vars> 403| _module = checked (config._module); check-vars> check-vars> … while calling the 'seq' builtin check-vars> at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/modules.nix:402:18: check-vars> 401| options = checked options; check-vars> 402| config = checked (removeAttrs config [ "_module" ]); check-vars> | ^ check-vars> 403| _module = checked (config._module); check-vars> check-vars> … while calling the 'throw' builtin check-vars> at /build/store/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/lib/modules.nix:374:13: check-vars> 373| else check-vars> 374| throw baseMsg check-vars> | ^ check-vars> 375| else check-vars> check-vars> error: The option `clan.core.vars.generators.openssh.migrateFact' does not exist. Definition values: check-vars> - In `/nix/store/pwzv0gvph47cya8jdjhp3vnh0dsxq2mh-source/modules/darwin/sshd.nix': "openssh" check-vars> check-vars> Did you mean `clan.core.vars.generators.openssh.files', `clan.core.vars.generators.openssh.finalScript' or `clan.core.vars.generators.openssh.name'? check-vars> check-vars> Return Code: 1 check-vars> check-vars> check-vars> The above exception was the direct cause of the following exception: check-vars> check-vars> Traceback (most recent call last): check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 503, in main check-vars> args.func(args) check-vars> ~~~~~~~~~^^^^^^ check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 26, in check_command check-vars> ok = check_vars(machine.name, flake, generator_name=args.generator) check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/vars/check.py", line 149, in check_vars check-vars> status = vars_status(machine_name, flake, generator_name=generator_name) check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/vars/check.py", line 63, in vars_status check-vars> generators = get_machine_generators([machine.name], machine.flake) check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/vars/generator.py", line 243, in get_machine_generators check-vars> flake.precache(get_machine_selectors(machine_names)) check-vars> ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1151, in precache check-vars> self.get_from_nix(not_fetched_selectors) check-vars> ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ check-vars> File "/nix/store/rz78w7kv9nnzmnkiww99mmqkns5nlzb1-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1094, in get_from_nix check-vars> raise ClanSelectError( check-vars> ...<3 lines>... check-vars> ) from e check-vars> clan_lib.flake.flake.ClanSelectError: Error while executing:$ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.{share,dependencies,prompts,validationHash}' check-vars> $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.generators.*.files.*.{secret,deploy,owner,group,mode,neededFor}' check-vars> $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.?sops.?defaultGroups' check-vars> $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.publicModule' check-vars> $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.settings.secretModule' check-vars> $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?sops.?secretUploadDirectory' check-vars> $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?passCommand' check-vars> $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?password-store.?secretLocation' check-vars> $ clan select 'clanInternals.machines.aarch64-linux.{build02}.config.clan.core.vars.?age.?secretLocation' check-vars> Reason: The option `clan.core.vars.generators.openssh.migrateFact' does not exist. Definition values: check-vars> - In `/nix/store/pwzv0gvph47cya8jdjhp3vnh0dsxq2mh-source/modules/darwin/sshd.nix': "openssh" check-vars> check-vars> 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. check-vars> + exitHandler check-vars> + exitCode=1 check-vars> + set +e check-vars> + '[' -n '' ']' check-vars> + (( 1 != 0 )) check-vars> + runHook failureHook check-vars> + local hookName=failureHook check-vars> + shift check-vars> + local 'hooksSlice=failureHooks[@]' check-vars> + local hook check-vars> + for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"} check-vars> + _logHook failureHook '_callImplicitHook 0 failureHook' check-vars> + [[ -z 2 ]] check-vars> + local hookKind=failureHook check-vars> + local 'hookExpr=_callImplicitHook 0 failureHook' check-vars> + shift 2 check-vars> + declare -F '_callImplicitHook 0 failureHook' check-vars> + type -p '_callImplicitHook 0 failureHook' check-vars> + [[ _callImplicitHook 0 failureHook != _callImplicitHook* ]] check-vars> + _eval '_callImplicitHook 0 failureHook' check-vars> + declare -F '_callImplicitHook 0 failureHook' check-vars> + eval '_callImplicitHook 0 failureHook' check-vars> ++ _callImplicitHook 0 failureHook check-vars> ++ local def=0 check-vars> ++ local hookName=failureHook check-vars> ++ declare -F failureHook check-vars> ++ type -p failureHook check-vars> ++ '[' -n '' ']' check-vars> ++ return 0 check-vars> + return 0 check-vars> + '[' -n '' ']' check-vars> + return 1 error: path '/nix/store/63qpfalvw6bdm7mi6b7m370fx1kd8j82-check-vars' is not valid error: Cannot build '/nix/store/iwm674w41q2p13hsmlqw8fq655r7bm1z-check-vars.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/63qpfalvw6bdm7mi6b7m370fx1kd8j82-check-vars