!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

210 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.49 Servers

Load older messages


SenderMessageTime
1 Nov 2025
@cequal:matrix.org@cequal:matrix.org left the room.10:01:32
@glepage:matrix.orgGaétan Lepage changed their profile picture.22:52:56
@glepage:matrix.orgGaétan Lepage changed their profile picture.22:53:58
2 Nov 2025
@yoquec.com:matrix.orgyoquec joined the room.12:05:10
@amadaluzia:unredacted.orgamadaluzia joined the room.22:30:07
5 Nov 2025
@pyrox:pyrox.devdish [Fox/It/She]What's the status on the building go with distpack pr?16:18:41
@pyrox:pyrox.devdish [Fox/It/She](#435817)16:19:00
@pyrox:pyrox.devdish [Fox/It/She]since it's currently blocking my PR to build go fully from source and I'd like to keep that moving16:20:35
7 Nov 2025
@frederic:scs.ems.hostFrédéric Christ

Hi Paul Meyer (katexochen) ,

maybe you remember talking at asg about private dependencies with buildGoModule.

Do you happen to know of any better solution than https://discourse.nixos.org/t/git-buildgomodule-private-repositories/5167/11 or using patched gomod2nix?

Rust build support solves this quite nice: The only thing you need to do is setting allowBuiltinFetchGit, see https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md#importing-a-cargolock-file-importing-a-cargolock-file .

Would be awesome to have a similarly convenient solution for go

08:53:25
@katexochen:matrix.orgPaul Meyer (katexochen) Frédéric Christ: I'll try take a look at it again over the weekend. 09:13:47
@sandro:supersandro.deSandro 🐧I had the same problem at work $work and it turns out vendoring is the easiest solution15:30:30
@awwpotato:envs.net@awwpotato:envs.net changed their display name from awwpotato (she/her) to -> @da157:catgirl.cloud.18:30:08
@awwpotato:envs.net@awwpotato:envs.net left the room.18:40:56
@mahmoudk1000:matrix.orgMahmoud joined the room.19:01:02
@emma:rory.gay@emma:rory.gay left the room.22:39:41
9 Nov 2025
@9hp71n:matrix.orgghpzin (moved to @ghpzin:envs.net) changed their display name from ghpzin to ghpzin (moved to @ghpzin:envs.net).15:03:46
10 Nov 2025
@kachick:matrix.orgkachick joined the room.14:04:08
11 Nov 2025
@arianvp:matrix.orgArian joined the room.11:42:55
@arianvp:matrix.orgArian

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
@arianvp:matrix.orgArian hmm maybe a dumy go:embed wil fix it 12:16:55
@katexochen:matrix.orgPaul 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
@jimww:matrix.orgジム changed their display name from 🍎 = egg to ジム.12:38:50
@jimww:matrix.orgジム changed their profile picture.12:39:59
@arianvp:matrix.orgArianhttps://github.com/golang/go/issues/26366 infuriating read12:53:08
@arianvp:matrix.orgArian 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
@arianvp:matrix.orgArian AH I think proxyVendor = true fixes my issue as that uses go mod download instead of go mod vendor 13:08:47
@arianvp:matrix.orgArianIt does! :party:13:11:19
12 Nov 2025
@inayet:matrix.orgInayet changed their display name from inayet to Inayet.12:39:43
14 Nov 2025
@leona:leona.isleona joined the room.16:11:06
@lt1379:matrix.orgLun joined the room.16:43:46

There are no newer messages yet.


Back to Room ListRoom Version: 9