!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

217 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.45 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
30 May 2025
@jrick:zettaport.comjrickforget GOPATH exists, the ones that matter are GOCACHE and GOMODCACHE18:31:18
@s_r:matrix.org@s_r:matrix.orgI guess the thing that got me thinking about this is that I need to download any given module once, the first time I need it, but then I don't need to do that again even if I'm in a different shell18:34:07
@s_r:matrix.org@s_r:matrix.orgwhich is convenient, but was counter intuitive at first18:34:32
@s_r:matrix.org@s_r:matrix.orgI think I can live with that given that there is still a vendor hash18:34:55
@jrick:zettaport.comjrickgo's tooling already handles that with the module cache (albeit per-user)18:35:14
@s_r:matrix.org@s_r:matrix.orgyeah, I know18:35:25
@s_r:matrix.org@s_r:matrix.orgmy issue is that it feels counter-nixy, but it is probably me, that's why I was asking18:35:49
@jrick:zettaport.comjrickgo cryptographically verifies the dependencies too so you're not going to risk building from different sources even if there is some download duplication18:37:19
@jrick:zettaport.comjrickand the cache files are read-only so unless you intentionally try to break them...18:38:28
@s_r:matrix.org@s_r:matrix.orgYeah, that's probably ok18:38:29
@s_r:matrix.org@s_r:matrix.orgthe derivations are also build from fresh, if I understood the code right18:39:22

Show newer messages


Back to Room ListRoom Version: 9