!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

224 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.54 Servers

Load older messages


SenderMessageTime
28 Jul 2025
@hashbangcore:matrix.orgJohn joined the room.08:03:24
@katexochen:matrix.orgPaul Meyer (katexochen)Anyone time to review https://github.com/NixOS/nixpkgs/pull/427334 ?14:40:53
@alex:acrawford.comalex left the room.21:29:38
31 Jul 2025
@sammy:cherrykitten.gaysammy (It/Its) joined the room.09:35:01
3 Aug 2025
@sandro:supersandro.deSandro 🐧Another PR to review https://github.com/NixOS/nixpkgs/pull/38774223:15:39
5 Aug 2025
@isabel:isabelroses.comisabel changed their profile picture.09:49:15
6 Aug 2025
@frederic:scs.ems.hostFrédéric Christ (🧳 12.05. - 02.06.) changed their display name from Frédéric Christ to Frédéric Christ 🏕️ 15.8..08:28:19
8 Aug 2025
@0x4a6f:nixos.dev0x4A6F joined the room.06:30:17
14 Aug 2025
@tumypmyp:matrix.orgTimur Gainullin joined the room.19:18:50
15 Aug 2025
@frederic:scs.ems.hostFrédéric Christ (🧳 12.05. - 02.06.) changed their display name from Frédéric Christ 🏕️ 15.8. to Frédéric Christ.10:37:10
19 Aug 2025
@nila:derg.socialNila The Dragon joined the room.18:28:17
@nila:derg.socialNila The DragonIs there a good way to build projects with private dependencies yet? I searched the web a bit but what I found didn't end up working.19:03:27
20 Aug 2025
@sandro:supersandro.deSandro 🐧WDYM by private?12:02:57
@sandro:supersandro.deSandro 🐧I just do go vendoring everywhere and then fetch via fetchFromGitHub12:03:25
@nila:derg.socialNila The Dragon We have an internal repo (no vendor folder) and that in turn has other private repos it uses as a dependency. 12:17:46
@sandro:supersandro.deSandro 🐧turn on vendoring. that is faster for nix and getting it to work in CI12:18:09
@diamondburned:matrix.orgdiamond (it/its)is this just for local dev? direnv + impure + fetchgit might suffice18:00:55
@diamondburned:matrix.orgdiamond (it/its)a while back i made this thread that might be useful https://discourse.nixos.org/t/git-buildgomodule-private-repositories/516718:02:40
@diamondburned:matrix.orgdiamond (it/its)vendoring could be a solution too but i hate actually vendoring stuff as it makes checking out + code reviewing a pain18:03:09
@pyrox:pyrox.devdish [Fox/It/She] joined the room.18:31:30
@pyrox:pyrox.devdish [Fox/It/She]https://github.com/nixos/nixpkgs/pull/43534518:32:41
@pyrox:pyrox.devdish [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 anyways19:19:14
@pyrox:pyrox.devdish [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
@pyrox:pyrox.devdish [Fox/It/She]i am in mental anguish why cant we have nice things(full source bootstraps)19:21:24
@pyrox:pyrox.devdish [Fox/It/She]screenshot-2025-08-20_15-20-10.png
Download screenshot-2025-08-20_15-20-10.png
19:21:24
21 Aug 2025
@nazarewk:matrix.orgkdnHow do I package up a Go app from local sources?10:07:36
@nazarewk:matrix.orgkdn* How do I package up a Go app from local sources? I think I had some trouble with hashes previously10:07:52
@j-k:matrix.orgj-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:matrix.orgj-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
@nazarewk:matrix.orgkdn j-k: how about vendorHash = null;? I've seen it suggested somewhere 11:56:40

Show newer messages


Back to Room ListRoom Version: 9