!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

218 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.46 Servers

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


SenderMessageTime
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.meK900Can someone explain why https://github.com/NixOS/nixpkgs/pull/297151 only broke on staging-next11:10:01
@k900:0upti.meK900I 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.meK900It's not documented anywhere17:03:09
@k900:0upti.meK900Is it a bug? Is it a feature? Whomst the fuck knows17:03:16

Show newer messages


Back to Room ListRoom Version: 9