| 11 Nov 2025 |
Arian | Iโm trying to build a project that relies on https://github.com/google/go-tpm-tools/tree/main/simulator in its tests
but the ms-tpm-20-ref subfolder does not end up in the vendor folder as itโs not a go package and thus it canโt find it.
The issue at hand is documented in https://github.com/golang/go/issues/26366
is there a way for buildGoModule to vendor extra files from dependencies?
| 12:06:56 |
Arian | hmm maybe a dumy go:embed wil fix it | 12:16:55 |
Paul Meyer (katexochen) |
is there a way for buildGoModule to vendor extra files from dependencies?
No, buildGoModule is just calling go mod vendor.
| 12:33:05 |
| bonkhonagahoogs changed their display name from ๐ = egg to ใธใ . | 12:38:50 |
| bonkhonagahoogs changed their profile picture. | 12:39:59 |
Arian | https://github.com/golang/go/issues/26366 infuriating read | 12:53:08 |
Arian | Iโm trying to work around it with go:embed now. but now go removes any file in a folder named main lol. So I need to rename the folder containing the C files to _main | 12:54:33 |
Arian | AH I think proxyVendor = true fixes my issue as that uses go mod download instead of go mod vendor | 13:08:47 |
Arian | It does! :party: | 13:11:19 |
| 12 Nov 2025 |
| Inayet changed their display name from inayet to Inayet. | 12:39:43 |
| 14 Nov 2025 |
| leona joined the room. | 16:11:06 |
| Lun joined the room. | 16:43:46 |
| 20 Nov 2025 |
| John joined the room. | 14:49:54 |
| 21 Nov 2025 |
| amadaluzia changed their display name from amadaluzia to amadaluzia (in ๐น๐ท til 25). | 14:44:58 |
| amadaluzia changed their display name from amadaluzia (in ๐น๐ท til 25) to amadaluzia (๐น๐ท til 25th). | 14:45:28 |
| isabel changed their profile picture. | 18:14:27 |
| 22 Nov 2025 |
| kaya left the room. | 15:47:32 |
| 24 Nov 2025 |
| amadaluzia changed their display name from amadaluzia (๐น๐ท til 25th) to amadaluzia. | 12:58:09 |
| 27 Nov 2025 |
| bonkhonagahoogs changed their profile picture. | 02:16:06 |
Puna | throwing this in here, in case the Go ppl of Nixpkgs have an opinion on this:
{go,go_latest}: Default to gccgo on platforms that normal Go doesn't support | https://github.com/NixOS/nixpkgs/pull/461644 | 15:04:58 |
jrick | is gccgo relevant at all anymore? iirc they don't implement any of the new language features since generics were introduced | 16:07:21 |
dish [Fox/It/She] | they dont even support generics, however the one good thing is that it can be used in a bootstrap chain to bootstrap a go compiler from source. That's not currently done in nixpkgs though, and I imagine most modern go code won't work at all on it. | 16:10:14 |
jrick | looks like gccgo is stuck at go 1.18 | 16:11:15 |
Sandro ๐ง | then I am against using that per default on those platforms as we don't gain much with it | 16:15:20 |
K900 | +1 against because if we do that it'll only be a matter of time before Go package maintainers get yelled at because their shit doesn't build on ppc32 or whatever the fuck | 16:18:42 |
K900 | And it will be gccgo's fault | 16:18:58 |
Puna | bootstrapping Go via gccgo is cool, but it doesn't help me because Go is intentionally-borked on ppc64 baseline, and will likely never get fixed unless someone forks & maintains it. and i definitely don't have the spoons for that ๐ซ . | 16:42:42 |
dish [Fox/It/She] | 1.18 without generics, even | 16:46:13 |
dish [Fox/It/She] | so definitely opposing this PR being merged | 16:46:20 |
Puna | that would happen like once in a decade or so, but fair ig. option to buildGoModule that marks gccgo-support (default false) and affects the derivation's platforms / badPlatforms / broken / whatever? | 16:55:01 |