!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

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

Load older messages


SenderMessageTime
3 Mar 2025
@k900:0upti.meK900Thanks, I got some help from Puck on that :) 14:26:22
@qbit:tapenet.org@qbit:tapenet.orgPuck?14:28:54
@k900:0upti.meK900@puckipedia14:35:27
@k900:0upti.meK900One of the Lix maintainers 14:35:45
@k900:0upti.meK900And bearer of cursed Go knowledge m14:35:55
@k900:0upti.meK900* And bearer of cursed Go knowledge14:36:06
@qbit:tapenet.org@qbit:tapenet.orgah, sweet14:39:05
@sandro:supersandro.deSandro 🐧the go things in there are basic :)23:10:17
5 Mar 2025
@hiengyen:matrix.orgTrungHieu joined the room.03:44:08
@ygt:matrix.org@ygt:matrix.org joined the room.13:31:56
@ygt:matrix.org@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@ygt:matrix.orgContext: Trying to package https://github.com/deadc0de6/gocatcli13:40:29
@katexochen:matrix.orgPaul 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
@katexochen:matrix.orgPaul 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@ygt:matrix.orgThank you13:43:45
@ygt:matrix.org@ygt:matrix.orgAlready done. I think I'll wait for their answer13:44:00
@katexochen:matrix.orgPaul Meyer (katexochen) nadir: feel free to request my review if you open a pr against nixpkgs :) 13:44:56
@ygt:matrix.org@ygt:matrix.orgThank you, that's very nice. I'll do that should it come to that :)13:45:57
7 Mar 2025
@nazarewk:matrix.orgkdnany ideas?13:02:38
@nazarewk:matrix.orgkdnseems like any kind of Go tool builds forever on my machine15:26:20
@nazarewk:matrix.orgkdn *

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
@ruhnet:matrix.orgruhnet joined the room.15:39:06
@phanirithvij:matrix.orgphanirithvij

I wasn't able to reproduce

 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.14, NixOS, 25.05 (Warbler), 25.05pre-git`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.27.0pre`
┃ ✔ netbird-0.36.7 ⏱ 1m53s
┣━━━ Builds          │ Downloads       │ Host
┃        │ ✔ 1 │     │     │     │     │ localhost
┃        │     │     │     │ ↓ 4 │     │ https://cache.nixos.org
┗━ ∑ ⏵ 0 │ ✔ 1 │ ⏸ 0 │ ↓ 0 │ ↓ 4 │ ⏸ 0 │ Finished at 21:04:12 after 2m10s
┃ ✔ golangci-lint-1.64.5 ⏱ 1m30s
┣━━━ Builds          │ Downloads       │ Host
┃        │ ✔ 1 │     │     │     │     │ localhost
┃        │     │     │     │ ↓ 5 │     │ https://cache.nixos.org
┗━ ∑ ⏵ 0 │ ✔ 1 │ ⏸ 0 │ ↓ 0 │ ↓ 5 │ ⏸ 0 │ Finished at 21:08:39 after 2m3s
15:39:52
@phanirithvij:matrix.orgphanirithvijboth built locally, --check, --rebuild15:40:45
@k900:0upti.meK900https://hydra.nixos.org/build/291836492/nixlog/1/tail17:45:04
@k900:0upti.meK900Broken by Go 1.24 I think?17:45:09
@k900:0upti.meK900Anyone has any idea17:45:11
@sandro:supersandro.deSandro 🐧They are matching the error message which I think changed18:04:35
8 Mar 2025
@ygt:matrix.org@ygt:matrix.org Paul Meyer (katexochen): https://github.com/NixOS/nixpkgs/pull/388101. Thanks again for your help 00:56:11
15 Mar 2025
@isabel:isabelroses.comisabel changed their profile picture.14:46:42

Show newer messages


Back to Room ListRoom Version: 9