| 25 Feb 2025 |
| @odysee:catgirl.cloud left the room. | 12:02:14 |
kdn | Why would go install hang when trying to rebuild netbird from nixpkgs? nom-build -A netbird https://github.com/r-ryantm/nixpkgs/archive/267f63cb9b4faf3ef8fd5be997f1864c29795b2b.tar.gz I've made my own local version to add set -x and it just hangs on the go install step doing nothing | 12:24:20 |
kdn | ohhh... it just took forever, I'm on 22nd minute and it's building management now | 12:33:34 |
kdn | still running it outside nix build finishes in seconds | 12:43:02 |
| 26 Feb 2025 |
diamond (it/its) | a hack would be to make a derivation that copies all of the vendor derivation's files out and then do the transformation | 06:54:10 |
diamond (it/its) | though I'm like 90% sure Nix has a hook to patch library paths inside programs that specifically do dynimports but I could be wrong? | 06:54:43 |
diamond (it/its) | iirc `autoPatchelfHook` does what you want I think??? | 06:54:50 |
| lanestolen joined the room. | 12:44:49 |
| 1 Mar 2025 |
| @achnazoor:matrix.org left the room. | 12:44:17 |
K900 ⚡️ | Can someone tell me if I did anything wrong on the Go side of https://github.com/NixOS/nixpkgs/pull/386064 | 12:51:52 |
| 3 Mar 2025 |
@qbit:tapenet.org | lgtm | 14:25:19 |
K900 ⚡️ | Thanks, I got some help from Puck on that :) | 14:26:22 |
@qbit:tapenet.org | Puck? | 14:28:54 |
K900 ⚡️ | @puckipedia | 14:35:27 |
K900 ⚡️ | One of the Lix maintainers | 14:35:45 |
K900 ⚡️ | And bearer of cursed Go knowledge m | 14:35:55 |
K900 ⚡️ | * And bearer of cursed Go knowledge | 14:36:06 |
@qbit:tapenet.org | ah, sweet | 14:39:05 |
Sandro 🐧 | the go things in there are basic :) | 23:10:17 |
| 5 Mar 2025 |
| TrungHieu joined the room. | 03:44:08 |
| @ygt:matrix.org joined the room. | 13:31:56 |
@ygt:matrix.org | Is there a recommended way to deal with projects that don't provide a go.sum when using buildGoModule? | 13:36:45 |
@ygt:matrix.org | Context: Trying to package https://github.com/deadc0de6/gocatcli | 13:40:29 |
Paul Meyer (katexochen) | I'd say clone the project, generate the go.sum file, put it beside your nix source (nixpkgs, if you are talking about a package you want to upstream), and copy it into source in postPatch. | 13:40:51 |
Paul Meyer (katexochen) | But I'd also ask upsteam to lock their dependencies, I say not having a go.sum is really bad practice for a Go project. | 13:43:33 |
@ygt:matrix.org | Thank you | 13:43:45 |
@ygt:matrix.org | Already done. I think I'll wait for their answer | 13:44:00 |
Paul Meyer (katexochen) | nadir: feel free to request my review if you open a pr against nixpkgs :) | 13:44:56 |
@ygt:matrix.org | Thank you, that's very nice. I'll do that should it come to that :) | 13:45:57 |
| 7 Mar 2025 |
kdn | any ideas? | 13:02:38 |