!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

155 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.41 Servers

Load older messages


SenderMessageTime
14 Mar 2024
@countoren:matrix.orgcountoren changed their display name from oren to countoren.14:09:43
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:45:09
15 Mar 2024
@antifuchs:asf.computerantifuchs I took a cool hack that the tailscale folks use (a little tool to generate NAR hashes for vendorHash values) and made it into a flake.parts module: https://github.com/antifuchs/generate-go-sri 02:07:15
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.04:05:29
@qbit:tapenet.orgqbitinteresting13:32:43
@grahamc:nixos.org@grahamc:nixos.org joined the room.23:11:53
16 Mar 2024
@sross:matrix.orgSean Ross joined the room.12:00:33
17 Mar 2024
@antifuchs:asf.computerantifuchs(it's pretty similar to gomod2nix, but with faaaaar less codegen) (:13:54:38
@antifuchs:asf.computerantifuchsI'm sure I asked this before but am not sure what the answer was: is there some flake that collects golang toolchains at different versions, like fenix does for rust? I would love to just use the "latest" toolchain and know it gets updated (like it eventually does in nixpkgs, but that lags a bit & my dependencies emphatically don't lag...)14:35:00
18 Mar 2024
@jolheiser:matrix.orgjolheiser joined the room.02:34:14
@jolheiser:matrix.orgjolheiserThis is cool! I just made a shell script for this exact thing like a week ago. Very nice02:37:18
19 Mar 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.00:30:30
@k900:0upti.meK900 ⚡️Can someone explain why https://github.com/NixOS/nixpkgs/pull/297151 only broke on staging-next11:10:01
@k900:0upti.meK900 ⚡️I guess this is just a Go 1.22 change11:15:21
@admin:nixos.org@admin:nixos.org joined the room.14:54:27
@admin:nixos.org@admin:nixos.org set the room name to "Nix + Go".14:54:47
@admin:nixos.org@admin:nixos.org left the room.14:55:00
@katexochen:matrix.orgPaul Meyer (katexochen)
In reply to @k900:0upti.me
I guess this is just a Go 1.22 change
Did you find why this is specific to Go 1.22? Looks like the file was moved over a year ago:
https://github.com/grafana/grafana/commit/8745d7ef1bf527ec84b9753613d7e5b689e81a17
16:57:01
@k900:0upti.meK900 ⚡️ Presumably go generate started failing on non-existent files 16:58:06
@k900:0upti.meK900 ⚡️
~
❯ nix run nixpkgs#go_1_21 -- generate this-file-does-not-exist.go

~
❯ nix run nixpkgs#go_1_22 -- generate this-file-does-not-exist.go
no required module provides package this-file-does-not-exist.go: go.mod file not found in current directory or any parent directory; see 'go help modules'
17:03:02
@k900:0upti.meK900 ⚡️It's not documented anywhere17:03:09
@k900:0upti.meK900 ⚡️Is it a bug? Is it a feature? Whomst the fuck knows17:03:16
@katexochen:matrix.orgPaul Meyer (katexochen)
In reply to @k900:0upti.me
Is it a bug? Is it a feature? Whomst the fuck knows
https://github.com/golang/go/commit/ee788dbae0fc8e074fc66fc76f0597200b443950
17:09:48
@k900:0upti.meK900 ⚡️Cool17:10:23
@k900:0upti.meK900 ⚡️I guess we know then17:10:26
@katexochen:matrix.orgPaul Meyer (katexochen)could have been a nice change if documented...17:12:11
@bumperboat:matrix.org@bumperboat:matrix.org set a profile picture.22:20:53
21 Mar 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:03:26
@bradwheel:matrix.orgBrad joined the room.18:30:59
@grahamc:nixos.org@grahamc:nixos.org left the room.20:10:25

Show newer messages


Back to Room ListRoom Version: 9