| 3 Mar 2025 |
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 |
kdn | seems like any kind of Go tool builds forever on my machine | 15:26:20 |
kdn | * seems like any kind of Go tool builds forever on my machine:
kdn@brys ~> nom build --no-link --rebuild 'nixpkgs#golangci-lint'
copying path '/nix/store/alr4kp1r5f241a3xz3frr7qrhlkjz9ly-source' from 'https://cache.nixos.org'
copying path '/nix/store/s1121nl75dkvisnb0wyvbnal7ibiyji9-golangci-lint-1.64.5-go-modules' from 'https://cache.nixos.org'
copying path '/nix/store/wk1vg9ksvmqwxhgj7cmvdv1g62v9kff0-go-1.24.0' from 'https://cache.nixos.org'
golangci-lint> checking outputs of '/nix/store/b6977275c6v3k6vnwv4flsfq8n6pnrsb-golangci-lint-1.64.5.drv'
golangci-lint> Running phase: unpackPhase
golangci-lint> unpacking source archive /nix/store/alr4kp1r5f241a3xz3frr7qrhlkjz9ly-source
golangci-lint> source root is source
golangci-lint> Running phase: patchPhase
golangci-lint> Running phase: updateAutotoolsGnuConfigScriptsPhase
golangci-lint> Running phase: configurePhase
golangci-lint> Running phase: buildPhase
golangci-lint> Building subPackage ./cmd/golangci-lint
┏━ Dependency Graph:
┃ ⏵ golangci-lint-1.64.5 (buildPhase) ⏱ 1m40s
┣━━━ Builds │ Downloads │ Host
┃ ⏵ 1 │ │ │ │ │ │ localhost
┃ │ │ │ │ ↓ 3 │ │ https://cache.nixos.org
┗━ ∑ ⏵ 1 │ ✔ 0 │ ⏸ 0 │ ↓ 0 │ ↓ 3 │ ⏸ 0 │ ⏱ 1m46s
| 15:27:16 |