!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

235 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.49 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
2 Mar 2023
@qbit:tapenet.org@qbit:tapenet.orgoh18:44:03
@qbit:tapenet.org@qbit:tapenet.orggithub.com/bgp/stayrtr/cmd/stayrtr@latest18:44:34
@qbit:tapenet.org@qbit:tapenet.org [0x4A6F]: do you need the rtrdump tool? 18:48:13
@0x4a6f:matrix.org[0x4A6F] Oh, I see: v0.5.1 - Critical fixes for v0.5.0 Pre-release 18:48:36
@qbit:tapenet.org@qbit:tapenet.orgwhat's weird is that i can build everything with the go tool18:50:49
@qbit:tapenet.org@qbit:tapenet.org go install github.com/bgp/stayrtr/cmd/...@v0.5.1 18:50:59
@0x4a6f:matrix.org[0x4A6F]
In reply to @qbit:tapenet.org
[0x4A6F]: do you need the rtrdump tool?
Does it conflict somehow?
19:03:19
@qbit:tapenet.org@qbit:tapenet.org no, i was thinking it was just that tool that was failing - but setting subPackages = [ "cmd/stayrtr" ]; fails the same way 19:04:24
@qbit:tapenet.org@qbit:tapenet.orgI can 'go install' just fine on nixos (unstable, go 1.19.6) and openbsd -current19:05:18
@qbit:tapenet.org@qbit:tapenet.org so now I have no idea what could be wrong 19:05:47
@qbit:tapenet.org@qbit:tapenet.org i wonder if go install is less strict 19:09:24
@qbit:tapenet.org@qbit:tapenet.orgyep19:09:51
@qbit:tapenet.org@qbit:tapenet.org so with go build -mod=vendor ./... in the stayrtr source tree@v0.5.1 it fails to build 19:10:22
@qbit:tapenet.org@qbit:tapenet.org but with just go build ./... it builds fine 19:10:30
@qbit:tapenet.org@qbit:tapenet.org -mod=readonly tells the go command to ignore the vendor directory and to report an error if go.mod needs to be updated. 19:14:42
@qbit:tapenet.org@qbit:tapenet.orghuh19:14:46
@qbit:tapenet.org@qbit:tapenet.orghttps://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/go/module.nix#L176 we set -mod=vendor19:15:23
@0x4a6f:matrix.org[0x4A6F] I don't know, hopefully the don't lynch me for this 19:16:17
@qbit:tapenet.org@qbit:tapenet.orgna, I know all the devs there - they are good peeps :D19:17:41
@qbit:tapenet.org@qbit:tapenet.orgwhere "all" is Claudio and Job :P19:18:19
@0x4a6f:matrix.org[0x4A6F]benjojo is also cool. Have meet with him in Berlin last year.19:19:03
@qbit:tapenet.org@qbit:tapenet.orgnice :D - I know CJ and Job from openbsd hackathons19:19:39
@qbit:tapenet.org@qbit:tapenet.orgi wonder if this is a regress in go build19:20:44
@qbit:tapenet.org@qbit:tapenet.org i am not sure if the error fits into the "if go.mod needs to be updated." category - or if that's just for modules listed in go.mod 19:21:07
@qbit:tapenet.org@qbit:tapenet.orgoh, my error is about vendor/modules.txt19:23:48
@qbit:tapenet.org@qbit:tapenet.orgnot go 1.1619:23:56

Show newer messages


Back to Room ListRoom Version: 9