!zghijEASpYQWYFzriI:nixos.org

Hydra

391 Members
111 Servers

Load older messages


SenderMessageTime
26 Jun 2021
@joerg:bethselamin.deMic92 (Old)binfmt support is documented here: https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix09:55:38
@manveru:matrix.orgmanveru Mic92: isn't that a pretty old way of doing it? i just set boot.binfmt.emulatedSystems = [ "aarch64-linux" "armv7l-linux" ]; 09:59:52
@manveru:matrix.orgmanveruthough i haven't tried that with hydra... it works for normal nix builds10:00:30
@joerg:bethselamin.deMic92 (Old)might be... I took it from here: https://github.com/nix-community/nixos-generators#cross-compiling10:00:40
@joerg:bethselamin.deMic92 (Old)If it works for normal builds it should work for hydra.10:00:53
@wucke13:matrix.orgwucke13It is not working for hydra. Hydra just claims that no machine is available for that arch. So there must be some way to tell hydra that the local machine supports said arch?10:47:39
@janne.hess:helsinki-systems.dedas_j wucke13: Is aarch64-linux mentioned in your /etc/nix/machines file? 10:48:04
@wucke13:matrix.orgwucke13Said file does not exist10:48:37
@wucke13:matrix.orgwucke13So I guess, that's a No :D10:48:44
@janne.hess:helsinki-systems.dedas_j should be something like localhost x86_64-linux,i686-linux - 32 1 kvm,nixos-test,big-parallel,benchmark 10:49:39
@janne.hess:helsinki-systems.dedas_jthere is a nixos option for that10:49:43
@janne.hess:helsinki-systems.dedas_j
nix.buildMachines
10:50:01
@janne.hess:helsinki-systems.dedas_j(you should obviously add aarch64-linux to the systems)10:50:43
@wucke13:matrix.orgwucke13Reading through the module: Is there no way to omit sshing to localhost?10:52:46
@janne.hess:helsinki-systems.dedas_jthere is. If the string is "localhost" it just implicitly builds locally ;)10:53:03
@janne.hess:helsinki-systems.dedas_jI learned that the hard way when I changed that string to the real hostname10:53:20
@wucke13:matrix.orgwucke13 locahost for hostName? 10:53:24
@janne.hess:helsinki-systems.dedas_jyes10:53:27
@rick:matrix.ciphernetics.nlRick (Mindavi)And keep in mind that emulation is slow :)10:54:07
@wucke13:matrix.orgwucke13 Would I also have to add i386-linux or is it implicitly always enabled if x86_64-linux is present? 10:54:19
@wucke13:matrix.orgwucke13
In reply to @rick:matrix.ciphernetics.nl
And keep in mind that emulation is slow :)
Time plays no role, it's university stuff :D
10:54:32
@janne.hess:helsinki-systems.dedas_jit's i686-linux and you need to add it if you want to build for it10:54:35
@wucke13:matrix.orgwucke13Ah, got me. Thanks!10:54:47
@wucke13:matrix.orgwucke13I will try and report back. On that note, is there a way to force hydra into rebuild failed builds without changing the nix files?10:56:17
@janne.hess:helsinki-systems.dedas_jYes, you can use the UI10:56:32
@wucke13:matrix.orgwucke13How that?10:56:38
@janne.hess:helsinki-systems.dedas_jimage.png
Download image.png
10:57:13
@janne.hess:helsinki-systems.dedas_jin the eval10:57:18
@janne.hess:helsinki-systems.dedas_jURL should be something like https://hydra.local/eval/1234510:57:51
@jez:petrichor.meJez (he/him) left the room.10:58:04

Show newer messages


Back to Room ListRoom Version: 6