!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

326 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena111 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
1 May 2023
@hexa:lossy.networkhexa
In reply to @yuka:yuka.dev
The reason for this error is an import-from-derivation

huh? how so? I see

stderr) error: a 'aarch64-linux' with features {} is required to build '/nix/store/21pl4g80gyk0jn77fy5pg4pr3vixj0vj-cabal2nix-arion-compose.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}

09:40:02
@hexa:lossy.networkhexadoes ifd not respect configured builders?09:40:27
@yuka:yuka.dev@yuka:yuka.devfrom what I understood, no remote builders are configured on the system where colmena is run09:42:06
@yuka:yuka.dev@yuka:yuka.dev --build-on-target does not work by passing the target host as builder to nix 09:42:22
@yuka:yuka.dev@yuka:yuka.dev * --build-on-target does pass the target host as builder to nix 09:42:30
@yuka:yuka.dev@yuka:yuka.dev it just runs a nix-instantiate locally, then nix-copy-closure the .drv to the remote host, and then nix-store --realise on the remote host 09:43:16
@yuka:yuka.dev@yuka:yuka.dev usually this works fine when the local host has a different arch because nix-instantiate only does evaluation and no builds.
however, when some expression does an import-from-derivation it will suddenly also have to run builds during the nix-instantiate phase on the local host. and since the nixos system is being evaluated as system = aarch64-linux, those derivations are also using aarch64 binaries
09:44:44
@hexa:lossy.networkhexaah ok10:25:09
@hexa:lossy.networkhexaDidnt understand that --build-on-target was used10:25:33
2 May 2023
@obsidianical:matrix.org@obsidianical:matrix.org changed their display name from ⚠️CYBER⚠️katze to Schrottkatze.22:36:20
3 May 2023
@hexa:lossy.networkhexadoes colmena have a problem working on multiplexed ssh connections?13:38:02
@hexa:lossy.networkhexaI use a ControlMaster socket for ssh13:38:31

Show newer messages


Back to Room ListRoom Version: 6