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