!zghijEASpYQWYFzriI:nixos.org

Hydra

371 Members
109 Servers

Load older messages


SenderMessageTime
24 Jun 2021
@taneb:hacksrus.ukTanebYeah, I noticed that the other day. Not sure how to fix it though :(07:57:34
@vertebralsilence:matrix.orgvertebralsilence joined the room.13:21:19
25 Jun 2021
@andreas.schraegle:helsinki-systems.deajs124Does hydra have a way to pass build options, e.g. something like a sandbox exception to a specific job(set)?13:47:15
26 Jun 2021
@jez:petrichor.meJez (he/him) joined the room.08:44:39
@wucke13:matrix.orgwucke13 joined the room.08:46:07
@wucke13:matrix.orgwucke13 Is it possible to have hydra build the nixosConfigurations in a flake? 08:46:43
@wucke13:matrix.orgwucke13And: Whats need to be done to make hydra use binfmt to build for non native systems (e.g. aarch64 on a x86_64 host)?09:28:47
@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

Show newer messages


Back to Room ListRoom Version: 6