!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

229 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.52 Servers

Load older messages


SenderMessageTime
29 Nov 2025
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.11:40:54
2 Dec 2025
@fuckill:matrix.org@fuckill:matrix.org joined the room.11:51:57
@fuckill:matrix.org@fuckill:matrix.org removed their display name Fuckill.12:46:13
@fuckill:matrix.org@fuckill:matrix.org left the room.12:46:25
@curid:matrix.orgCurid left the room.18:02:18
1 Aug 2023
@cafkafk:nixos.devChristina Sørensen joined the room.11:11:02
8 Aug 2023
@qbit:tapenet.org@qbit:tapenet.org \o/ 1.21.0 16:08:13
9 Aug 2023
@aog_:matrix.orgaog joined the room.15:54:44
13 Aug 2023
@10leej:matrix.orgnevoyu joined the room.01:25:24
@katexochen:matrix.orgPaul Meyer (katexochen) joined the room.11:48:05
14 Aug 2023
@arnoldanderson:matrix.org[a4]nd[e3]r[s5][o0]n changed their profile picture.09:02:42
15 Aug 2023
@cafkafk:nixos.devChristina Sørensen changed their profile picture.14:57:57
@10leej:matrix.orgnevoyu left the room.19:34:19
17 Aug 2023
@atalii:matrix.org@atalii:matrix.org j-k: 14:31:49
@arnoldanderson:matrix.org[a4]nd[e3]r[s5][o0]n changed their display name from 4nd3rs0n to [4a]nd[e3]r[s5][o0]n.17:43:30
@arnoldanderson:matrix.org[a4]nd[e3]r[s5][o0]n changed their display name from [4a]nd[e3]r[s5][o0]n to [a4]nd[e3]r[s5][o0]n.17:43:53
19 Aug 2023
@qbit:tapenet.org@qbit:tapenet.org/me shakes his fist at stuck unread notifications12:38:53
20 Aug 2023
@katexochen:matrix.orgPaul Meyer (katexochen) set a profile picture.12:47:29
23 Aug 2023
@benjaminedwardwebb:envs.netbenwebb joined the room.16:42:14
24 Aug 2023
@antifuchs:asf.computerantifuchs joined the room.12:55:25
@antifuchs:asf.computerantifuchsSo with the release of go 1.21, where do people get their go_1_21 toolchain attributes from? Is there a collection of versions like oxalica/rust-overlay but for go?13:10:31
@qbit:tapenet.org@qbit:tapenet.orgit's in unstable atm13:12:55
@antifuchs:asf.computerantifuchsYeah - doesn’t stop my library’s deps from pinning 1.21 in their module though ):13:13:27
@antifuchs:asf.computerantifuchs(Which then breaks my builds when I need to upgrade for security patches, gotta love transitive deps)13:13:54
@antifuchs:asf.computerantifuchsOh wait, i see what you mean! Oops, didn’t find it in the package search … welp13:17:23
27 Aug 2023
@keanuk:matrix.orgKeanu joined the room.20:05:35
30 Aug 2023
@theclearpill:matrix.orgMoritz joined the room.08:49:10
@theclearpill:matrix.orgMoritzHey, I'm currently trying to build https://github.com/mautrix/discord using go. However, I'm having a missing dependency problem: ``` go: github.com/bwmarrin/discordgo@v0.27.0 requires golang.org/x/crypto@v0.8.0: missing go.sum entry; to add it: go mod download golang.org/x/cryp ``` I couldn't find anything in the documentation (https://nixos.org/manual/nixpkgs/unstable/#sec-language-go) on how I could add this dependency. Does anybody know how I could patch go.sum or something alike? Here is my current package definition: ```nix { lib , buildGoModule , fetchFromGitHub }: buildGoModule rec { pname = "discord"; version = "0.6.1"; src = fetchFromGitHub { owner = "mautrix"; repo = "discord"; rev = "v${version}"; hash = "sha256-rs7wWlQMc79Vls+cqPPo+lRzYAGye4WcKKz+9EXlEBo="; }; vendorSha256 = "sha256-GKUy/HYuPyaUNzfAD7NQWH+tuwcoQhWU4bfxhOpIM0Y="; ldflags = [ "-s" "-w" ]; doCheck = false; proxyVendor = true; meta = with lib; { description = "A Matrix-Discord puppeting bridge"; homepage = "https://github.com/mautrix/discord"; changelog = "https://github.com/mautrix/discord/blob/${src.rev}/CHANGELOG.md"; license = licenses.agpl3Only; maintainers = with maintainers; [ ]; }; } ```08:55:47
@j-k:matrix.orgj-k this should probably work
clone the repo > checkout the tag you want > go mod tidy > create patch file > add patch file to patches list (see other packages for examples
09:00:36
@theclearpill:matrix.orgMoritzThanks, I'll try it.09:01:48

Show newer messages


Back to Room ListRoom Version: 9