!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

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

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


SenderMessageTime
19 Mar 2024
@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.orgbumperboat 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
22 Mar 2024
@mrene:matrix.org@mrene:matrix.org joined the room.00:44:32
@bumperboat:matrix.orgbumperboat changed their display name from bumperboat to bumperboat (UTC+8 when).13:27:55
@bumperboat:matrix.orgbumperboat changed their display name from bumperboat (UTC+8 when) to bumperboat (UTC+8).15:01:26
23 Mar 2024
@federicodschonborn:matrix.orgFederico Damián Schonborn joined the room.00:37:08
@jgero:matrix.org@jgero:matrix.org joined the room.12:04:00
24 Mar 2024
@hoskellisiera:matrix.orghoskellisiera joined the room.01:48:44
@hoskellisiera:matrix.orghoskellisiera changed their profile picture.19:48:50
25 Mar 2024
@stv0ge:matrix.orgstv0g joined the room.18:15:27
@stv0ge:matrix.orgstv0gHi all, I am trying to install Ginkgo into my devShell with the version locked in go.sum. In non-Nix environments, I achieve this by simply running 'nix install github.com/path/to/package'. But for nix I am a bit stuck..18:17:16
@curid:matrix.orgCuridStop testing Go like javascript18:25:40
@qbit:tapenet.org@qbit:tapenet.org stv0g: hi! I assume you mean "go install" vs "nix install" ? :D 18:51:38

Show newer messages


Back to Room ListRoom Version: 9