No description
Find a file
2025-11-15 14:11:56 +01:00
machine_a commit 2025-11-15 14:11:56 +01:00
machine_b commit 2025-11-15 14:11:56 +01:00
npins commit 2025-11-15 14:11:56 +01:00
.envrc commit 2025-11-15 14:11:56 +01:00
.gitignore commit 2025-11-15 14:11:56 +01:00
hive.nix commit 2025-11-15 14:11:56 +01:00
README.md commit 2025-11-15 14:11:56 +01:00
shell.nix commit 2025-11-15 14:11:56 +01:00

syntax error in machine_b

this is a syntax error

we build machine_a

with colmena syntax error is ignored

colmena-arcana [ main][+ ]via ❄️  impure (nix-shell-env)
14:06:02 ➜  colmena build --on machine_a
          ✅ 4s All done!
machine_a ✅ 4s Evaluated machine_a
machine_a ✅ 0s Built "/nix/store/nbich6xzqvih87w6wlkgpyj3i9qbfcgr-nixos-system-nixos-25.11pre888552.b3d51a0365f6"

with arcana syntax error isn't ignored

colmena-arcana [ main][+ ]via ❄️  impure (nix-shell-env) took 5s
14:06:47 ➜  arcana build --on machine_a
[INFO ] Using configuration: /var/www/HANS/colmena-arcana/hive.nix
[INFO ] Enumerating systems...
[INFO ] Enumerating nodes...
trace: evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'
error:
       … while evaluating attribute 'machine_b'

       … while evaluating attribute 'aliases'
         at «string»:1:312:
            1| with builtins; let eval = import /tmp/arcana-assets-xr3tb6/eval.nix; hive = eval { rawHive = import /var/www/HANS/colmena-arcana/hive.nix; arcanaOptions = import /tmp/arcana-assets-xr3tb6/options.nix; arcanaModules = import /tmp/arcana-assets-xr3tb6/modules.nix; }; in (mapAttrs (name: attrs: { inherit (attrs) aliases ; }) hive.deploymentConfig)
             |                                                                                                                                                                                                                                                                                                                        ^

       … while evaluating an expression to select 'aliases' on it
         at «string»:1:312:
            1| with builtins; let eval = import /tmp/arcana-assets-xr3tb6/eval.nix; hive = eval { rawHive = import /var/www/HANS/colmena-arcana/hive.nix; arcanaOptions = import /tmp/arcana-assets-xr3tb6/options.nix; arcanaModules = import /tmp/arcana-assets-xr3tb6/modules.nix; }; in (mapAttrs (name: attrs: { inherit (attrs) aliases ; }) hive.deploymentConfig)
             |                                                                                                                                                                                                                                                                                                                        ^

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: undefined variable 'this'
       at /var/www/HANS/colmena-arcana/machine_b/default.nix:4:1:
            3| ##
            4| this is a syntax error
             | ^
            5| ##
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 1
Hint: Backtrace available - Use `RUST_BACKTRACE=1` environment variable to display a backtrace