| 20 Aug 2025 |
dish [Fox/It/She] | * (i'm aware this is broken on darwin, i think doing c compiler -> 1.4 -> 1.17 would be better and maybe even faster than gccgo anyways, so I'm gonna work on that) | 19:19:22 |
dish [Fox/It/She] | i am in mental anguish why cant we have nice things(full source bootstraps) | 19:21:24 |
dish [Fox/It/She] |  Download screenshot-2025-08-20_15-20-10.png | 19:21:24 |
| 21 Aug 2025 |
kdn | How do I package up a Go app from local sources? | 10:07:36 |
kdn | * How do I package up a Go app from local sources? I think I had some trouble with hashes previously | 10:07:52 |
j-k | should just be usual buildGoModule definition with src = ./some/local/path; and normal correct handling of vendorHash (unless your local src has symlinks outside of ./) | 10:40:36 |
j-k | Make sure when you do your first build you provide an invalid vendorHash. Then it'll tell you the actual value and you can put that in. If you're still getting mismatches across platforms e.g. linux and darwin/mac you might want to restart that whole process but with proxyVendor = true; included` | 10:41:53 |
kdn | j-k: how about vendorHash = null;? I've seen it suggested somewhere | 11:56:40 |
Paul Meyer (katexochen) | You can do that. Either way you'll have a manual step to do after dependencies in go.mod changed, either running go mod vendor again or updating the vendorHash. | 12:12:16 |
j-k | yeah vendorHash = null; is for if youre vendoring your own dependencies already. E.g. lazygit has this dir https://github.com/jesseduffield/lazygit/tree/master/vendor | 12:20:39 |
j-k | * yeah vendorHash = null; is for if youre vendoring your own dependencies already. E.g. lazygit has this dir https://github.com/jesseduffield/lazygit/tree/master/vendor so nothing else needs to be fetched | 12:21:06 |
dish [Fox/It/She] | updated this to keep binary bootstraps for darwin/loong64 | 14:01:38 |
dish [Fox/It/She] | tests seem to be borked because ofborg is screwed? like the nix daemon just dies with no other output | 14:55:35 |
dish [Fox/It/She] | wild | 14:55:37 |
| 22 Aug 2025 |
dish [Fox/It/She] | I really dont like how so many platforms can't bootstrap from source, but its inevitable I suppose. Just a bit frustrating that the only thing that bootstraps properly is Linux on non-loong64. No darwin or freebsd builds, which just kinda sucks because those are fairly notable platforms. Hopefully gccgo can support darwin in the future or something else comes along that can help us with easier bootstrapping | 00:50:46 |
Puna | don't know if this is interesting to ppl here, but i made a pr to allow usage of gccgo for buildGoModule: https://github.com/NixOS/nixpkgs/pull/430137 | 12:44:16 |
Puna | (mainly to enable very basic go things on powerpc64, where normal go is unusable IMO) | 12:46:07 |
kdn | ok, so I was not seeing any errors because I don't have any dependencies yet then | 16:06:23 |
j-k | Do you have any error messages or issues/tickets related to the other platform build failures? | 16:37:36 |
dish [Fox/It/She] | there's a bug report for gccgo about darwin not being supported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 | 17:06:24 |
dish [Fox/It/She] | and I got a report from someone in my bootstrap PR that freebsd got broken, and also notes that loongarch64 isn't supported for early enough versions to bootstrap | 17:07:01 |
dish [Fox/It/She] | loong64 only supports 1.19+ and we need 1.17+ support for bootstrap | 17:08:26 |
dish [Fox/It/She] | * loong64 only supports 1.19+ and we need 1.17 support for bootstrap(along with gccgo but thats more reliable to have on some platforms) | 17:08:48 |
dish [Fox/It/She] | and go 1.4 does not support aarch64 darwin, so that does not work as a non-gccgo bootstrap path for darwin | 17:09:12 |
dish [Fox/It/She] | * loong64 only supports 1.19+ and we need 1.17 support for bootstrap(along with gccgo but thats more reliable to have on some platforms because gcc) | 17:09:35 |
dish [Fox/It/She] | I don't have any error messages or logs for bootstrap failures though, just going off of documentation and comments I've recieved | 17:14:39 |
| 26 Aug 2025 |
| WebPirat joined the room. | 04:35:44 |
| bashfulrobot changed their profile picture. | 16:40:50 |
| 29 Aug 2025 |
| @luna-null:matrix.org left the room. | 02:40:15 |
| bienkma joined the room. | 03:49:23 |