!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

230 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.51 Servers

Load older messages


SenderMessageTime
27 Jun 2025
@nazarewk:matrix.orgkdnyeah, I'm wondering why is it waiting for a network connection at all and not get denied immediately14:30:29
@nazarewk:matrix.orgkdn those 120/180s timeouts all have runtime.netpoll+210 reference in the stack, not sure how to identify a specific function exactly in this case 14:31:09
@nazarewk:matrix.orgkdncould there be something in Nix configuratio that could affect this behavior?14:37:15
@nazarewk:matrix.orgkdn* could there be something in Nix configuration that could affect this behavior?14:37:21
@nazarewk:matrix.orgkdnmaybe firewall rules (no idea if those apply at all in case of Nix builders)?14:37:36
@nazarewk:matrix.orgkdnFYI: I have asked about it on Gophers, maybe somebody will help there https://gophers.slack.com/archives/C0VP8EF3R/p175103953939931916:06:42
@nazarewk:matrix.orgkdn funny enough, my customized install-iso also builds Netbird pretty quickly (under a minute) 17:35:21
@nazarewk:matrix.orgkdn a Hetzner machine with quite similar config builds slowly already 17:41:08
@k900:0upti.meK900Well feels like you have a starting point to bisect from17:41:50
@nazarewk:matrix.orgkdn actually looking at btop seems like the hetzner build is CPU bould 17:42:08
@nazarewk:matrix.orgkdncould it be something with ZFS slowing things down?17:43:14
@nazarewk:matrix.orgkdn could nix builder have some problem with ~500 bind mounts due to persistence setup? 17:57:38
@nazarewk:matrix.orgkdn nevermind, I don't have persistence on my laptop at all 17:57:48
@nazarewk:matrix.orgkdn * nevermind, I don't have persistence on my laptop at all, I have it on my rpi4 that builds the stuff quickly enough too 17:58:34
1 Jul 2025
@opna2608:matrix.orgPuna joined the room.09:08:37
@opna2608:matrix.orgPuna don't really know much about Go and its different compilers, so i figured I'd ask here: how many things would explode if i replaced go with gccgo in Nixpkgs? is Go stuff generally compatible with the latter, maybe only with missing Nix glue here and there for it to be a direct go = gccgo job?
i have a platform that go doesn't really support anymore since 1.9 (or at least not in a manner where affordable hardware can use it), and upstream has no interest in fixing that support, so I'm planning to mark go as unsupported on it and am looking for alternatives. this replacement would only affect that particular platform.
09:21:44
@k900:0upti.meK900gccgo is not practically usable AFAIK09:22:18
@opna2608:matrix.orgPunain that the project itself is borked / not up-to-spec and incompatible with out-in-the-wild Go code, or is our packaging of it bad?09:23:59
@k900:0upti.meK900I think upstream09:24:31
@k900:0upti.meK900
The GCC 12 and 13 releases include a complete implementation of the Go 1.18 standard library. However, GCC does not yet include support for generics.
09:25:14
@k900:0upti.meK900https://go.dev/doc/install/gccgo09:25:17
@k900:0upti.meK900So yeah it's stuck on an ancient Go version09:25:21
@opna2608:matrix.orgPuna hmm… and i assume usage of generics is common enough for that to matter?
any important packages i'd miss out on by just marking go unsupported and accepting that Go is just a no-go (lol)?
09:30:42
@k900:0upti.meK900Honestly, lots09:32:48
@k900:0upti.meK900What platform is that even?09:32:51
@opna2608:matrix.orgPunabig-endian ppc6409:33:00
@opna2608:matrix.orgPunasupport for POWER < 8 got dropped, and those systems are the only ones that are affordable, and where using big-endian really made sense09:34:11
@k900:0upti.meK900Yeeeeeeeeeeah09:34:51
@diamondburned:matrix.orgDiamond (it/she)on a basic system i dont think theres much youd miss out, more than that it depends on what youll use it for21:00:09
@diamondburned:matrix.orgDiamond (it/she)like a lot of web stuff are in Go for example21:00:17

Show newer messages


Back to Room ListRoom Version: 9