!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

226 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.47 Servers

Load older messages


SenderMessageTime
5 Nov 2024
@kaya:catnip.ee@kaya:catnip.ee changed their profile picture.23:23:40
6 Nov 2024
@theclearpill:matrix.orgMoritz left the room.06:38:53
8 Nov 2024
@jschvz:matrix.orgjschvz joined the room.02:57:07
@artur:glasgow.socialmoved to @amadaluzia:tchncs.de changed their display name from (artur 'manuel) to @amadaluzia:tchncs.de.14:29:00
@artur:glasgow.socialmoved to @amadaluzia:tchncs.de changed their display name from @amadaluzia:tchncs.de to moved to @amadaluzia:tchncs.de.14:30:25
10 Nov 2024
@sbc64:matrix.org@sbc64:matrix.org left the room.20:02:14
12 Nov 2024
@azahi:azahi.cc@azahi:azahi.cc changed their profile picture.18:51:18
@4noch:matrix.orgElliot CameronIs there active (or stalled) work to help Nix understand go.sum files natively, similar to what Rust now has? E.g. I want to stop using vendorHash...19:41:36
13 Nov 2024
@diamondburned:matrix.orgdiamond (it/its)afaik it's been understood, but the bespoke hashing function that go.sum has is just not compatible with Nix00:33:18
@diamondburned:matrix.orgdiamond (it/its) i think the issue is that Nix needs a hash in order to validate the downloaded modules, but the only hash it has is h2 and there's just no support for that 00:33:49
@diamondburned:matrix.orgdiamond (it/its)like it expects a sha25600:33:57
@diamondburned:matrix.orgdiamond (it/its) gomod2nix kinda "solves" this by doing the fetching on its own and re-hashing it in sha256 instead, is what i've noticed 00:34:24
@4noch:matrix.orgElliot CameronI found an issue on Nix (https://github.com/NixOS/nix/issues/8021) and someone quite clever got it "working" here: https://nichi.co/articles/go-module-in-nix.html00:42:51
@diamondburned:matrix.orgdiamond (it/its) this is pretty much what gomod2nix does, yeah 01:07:12
@diamondburned:matrix.orgdiamond (it/its)image.png
Download image.png
01:07:24
@inayet:matrix.orgInayet joined the room.22:15:34
15 Nov 2024
@diamondburned:matrix.orgdiamond (it/its) changed their profile picture.23:01:09
17 Nov 2024
@adis:blad.isadisbladis joined the room.03:23:02
@adis:blad.isadisbladisI'm experimenting with new Go builders for Nix and would like to invite people to take a look https://github.com/adisbladis/gobuild.nix/03:26:19
19 Nov 2024
@diamondburned:matrix.orgdiamond (it/its) changed their profile picture.21:15:52
20 Nov 2024
@inayet:matrix.orgInayet removed their profile picture.00:59:17
26 Nov 2024
@sefodopo:matrix.orgSefodopo joined the room.03:14:23
5 Dec 2024
@tomasajt:matrix.orgToma joined the room.18:43:06
6 Dec 2024
@kaya:catnip.ee@kaya:catnip.ee changed their profile picture.21:16:47
9 Dec 2024
@katexochen:matrix.orgPaul Meyer (katexochen)Any thought on https://github.com/NixOS/nixpkgs/pull/363617? Would love to get some feedback on the idea.15:47:23
11 Dec 2024
@dminca:matrix.org@dminca:matrix.org left the room.14:19:10
17 Dec 2024
@okamis:matrix.org@okamis:matrix.org joined the room.12:03:58
@okamis:matrix.org@okamis:matrix.org Hello, when running "go run ." in nixos I get the error message "go: creating work dir: stat /tmp/nix-shell-59259-0: no such file or directory" how do I make it build for testing? 12:05:17
@katexochen:matrix.orgPaul Meyer (katexochen) Can you paste the output of go env? 12:09:15
@okamis:matrix.org@okamis:matrix.org go: creating work dir: stat /tmp/nix-shell-94646-0: no such file or directory 12:10:43

Show newer messages


Back to Room ListRoom Version: 9