!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

228 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.48 Servers

Load older messages


SenderMessageTime
25 Sep 2023
@artturin:matrix.orgArtturinFiles would have to be downloaded during evaluation05:27:25
@katexochen:matrix.orgPaul Meyer (katexochen)Got it, thanks for explaining. So dynamic derivations could potentially fix this in nixpkgs?05:29:43
@katexochen:matrix.orgPaul Meyer (katexochen)But isn't go vendor using the go.mod file from inside the derivation anyway to download the dependencies?05:32:56
@katexochen:matrix.orgPaul Meyer (katexochen)I mean how else would it know what to download.05:33:40
@artturin:matrix.orgArtturin
In reply to @katexochen:matrix.org
But isn't go vendor using the go.mod file from inside the derivation anyway to download the dependencies?
You can check the builders nix file and see what it runa
05:34:11
@artturin:matrix.orgArtturin* In reply to @katexochen:matrix.org But isn't go vendor using the go.mod file from inside the derivation anyway to download the dependencies? You can check the builders nix file and see what it runs05:34:17
@artturin:matrix.orgArtturin
In reply to @katexochen:matrix.org
Got it, thanks for explaining. So dynamic derivations could potentially fix this in nixpkgs?
The rfc summary says so
05:34:54
@qbit:tapenet.org@qbit:tapenet.org
In reply to @katexochen:matrix.org
But isn't go vendor using the go.mod file from inside the derivation anyway to download the dependencies?
the vendor derivation is built first, then the hash is put in the buildGoModule derivation
12:39:17
@qbit:tapenet.org@qbit:tapenet.organd afaik the reason it was done this way is because the hashes are non-compat12:39:38
26 Sep 2023
@maka-mmparr77:matrix.orgmaka-77x joined the room.00:11:04
27 Sep 2023
@mib:kanp.aimib 🥐 changed their display name from mib to mib 🥐.05:53:08
29 Sep 2023
@bobymcbobs:matrix.orgcalebwoodbine joined the room.20:09:41
@bobymcbobs:matrix.orgcalebwoodbine changed their display name from bobymcbobs to calebwoodbine.20:16:30
6 Oct 2023
@chrispickard:matrix.orgchrispickard set their display name to chrispickard.13:39:19
8 Oct 2023
@k900:0upti.meK900 ⚡️ joined the room.18:47:42
@k900:0upti.meK900 ⚡️Can someone with more nixpkgs/go stuff experience tell me if there's a less shitty way to do https://github.com/NixOS/nixpkgs/pull/25981518:48:12
@k900:0upti.meK900 ⚡️Basically it wants to call Go from cmake to build a staticlib18:48:34
@qbit:tapenet.org@qbit:tapenet.orgthat doesn't seem too shitty19:49:23
@qbit:tapenet.org@qbit:tapenet.orglgtm - runs and what not20:05:12
9 Oct 2023
@qbit:tapenet.org@qbit:tapenet.orgthere are a number of things that use go libs that way.. I imagine with tailscale it will become more popular.. maybe a convenient way to hook into it would be worth adding..00:05:07
23 Oct 2023
@stroove:matrix.orgstroove joined the room.00:10:40
25 Oct 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.00:12:49
27 Oct 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.01:24:25
31 Oct 2023
@fractivore:cyberia.clubsymys joined the room.14:30:02
1 Nov 2023
@bumperboat:matrix.orgbumperboat joined the room.14:33:41
@bumperboat:matrix.orgbumperboathello my friends. i am attempting to add my first go package and am having errors on build - I would appreciate your expertise! https://pastebin.com/6nLf3waT 14:40:55
@qbit:tapenet.org@qbit:tapenet.orglooks like you probably need subPackages set14:42:08
@qbit:tapenet.org@qbit:tapenet.org maybe subPackages = [ "./main.go" ]; 14:43:53
@bumperboat:matrix.orgbumperboathmm still wants to build mocks14:45:51
@qbit:tapenet.org@qbit:tapenet.orgstrange theat vendorHash is empty14:47:08

Show newer messages


Back to Room ListRoom Version: 9