| 25 Sep 2023 |
@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 | and afaik the reason it was done this way is because the hashes are non-compat | 12:39:38 |
| 26 Sep 2023 |
| maka-77x joined the room. | 00:11:04 |
| 27 Sep 2023 |
| mib 🥐 changed their display name from mib to mib 🥐. | 05:53:08 |
| 29 Sep 2023 |
| calebwoodbine joined the room. | 20:09:41 |
| calebwoodbine changed their display name from bobymcbobs to calebwoodbine. | 20:16:30 |
| 6 Oct 2023 |
| chrispickard set their display name to chrispickard. | 13:39:19 |
| 8 Oct 2023 |
| K900 joined the room. | 18:47:42 |
K900 | 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/259815 | 18:48:12 |
K900 | Basically it wants to call Go from cmake to build a staticlib | 18:48:34 |
@qbit:tapenet.org | that doesn't seem too shitty | 19:49:23 |
@qbit:tapenet.org | lgtm - runs and what not | 20:05:12 |
| 9 Oct 2023 |
@qbit:tapenet.org | there 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 joined the room. | 00:10:40 |
| 25 Oct 2023 |
| Federico Damián Schonborn changed their profile picture. | 00:12:49 |
| 27 Oct 2023 |
| Federico Damián Schonborn changed their profile picture. | 01:24:25 |
| 31 Oct 2023 |
| SYMYƧ joined the room. | 14:30:02 |
| 1 Nov 2023 |
| bumperboat (UTC+8) joined the room. | 14:33:41 |
bumperboat (UTC+8) | hello 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 | looks like you probably need subPackages set | 14:42:08 |
@qbit:tapenet.org | maybe subPackages = [ "./main.go" ]; | 14:43:53 |
bumperboat (UTC+8) | hmm still wants to build mocks | 14:45:51 |
@qbit:tapenet.org | strange theat vendorHash is empty | 14:47:08 |
bumperboat (UTC+8) | https://pastebin.com/nFfktbV3 | 14:47:16 |
bumperboat (UTC+8) | the manual said to set it to lib.fakeHash because I don't have the hash yet - I was expecting the output to give it to me so I can update the nix file | 14:47:57 |
@qbit:tapenet.org | it should be given.. whenmaking /nix/store/6hb3rkffr6gszgrvbsjlc3xn5dhmiwx7-resticprofile-0.24.0-go-modules.drv .. | 14:48:48 |
@qbit:tapenet.org | maybe remove that from the store and see if it gives you the hash? | 14:49:04 |
bumperboat (UTC+8) | i did a nix-store --delete same thing trying to build the mock | 14:58:47 |
@qbit:tapenet.org | well, that was specifically to get the hash for the -go-modules derivation | 14:59:13 |
bumperboat (UTC+8) | nix-store --delete /nix/store/6hb3rkffr6gszgrvbsjlc3xn5dhmiwx7-resticprofile-0.24.0-go-modules.drv
finding garbage collector roots...
deleting '/nix/store/6hb3rkffr6gszgrvbsjlc3xn5dhmiwx7-resticprofile-0.24.0-go-modules.drv'
deleting unused links...
note: currently hard linking saves 958.38 MiB
1 store paths deleted, 0.00 MiB freed
| 15:01:35 |