!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

240 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.51 Servers

Load older messages


SenderMessageTime
26 May 2026
@phanirithvij:matrix.orgphanirithvij changed their display name from loudgolem to phanirithvij.11:40:33
27 May 2026
@isabel:isabelroses.comisabel changed their profile picture.21:16:36
31 May 2026
@vandycarlos:matrix.orgVandy Carlos changed their display name from vandycarlos to Vandy arlos.22:00:25
@vandycarlos:matrix.orgVandy Carlos changed their display name from Vandy arlos to Vandy Carlos.22:00:34
7 Jun 2026
@viq:hackerspace.plviq joined the room.14:23:04
@viq:hackerspace.plviq

Hello. I'm trying to build readeck from git. This is what I have currently: https://paste.debian.net/hidden/bdfec54e
I keep getting

go tool -modfile=go.tool.mod templ generate
go: inconsistent vendoring in /build/source:
        4d63.com/gocheckcompilerdirectives@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        4d63.com/gochecknoglobals@v0.2.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        codeberg.org/chavacava/garif@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        codeberg.org/polyfloyd/go-errorlint@v1.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        dario.cat/mergo@v1.0.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[...]
        modernc.org/sqlite@v1.51.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod

        To ignore the vendor directory, use -mod=readonly or -mod=mod.
        To sync the vendor directory, run:
                go mod vendor
make: *** [Makefile:71: templ] Error 1

despite updating vendorHash. Any ideas how to proceed?

14:31:32
@viq:hackerspace.plviqOriginal package: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/re/readeck/package.nix14:32:10
@bart:bartoostveen.nlBart joined the room.14:40:30
8 Jun 2026
@rosssmyth:matrix.org@rosssmyth:matrix.org joined the room.21:22:07
@rosssmyth:matrix.org@rosssmyth:matrix.org Often when Go packages are added, people add ldflags = [ "-s" "-w" ];
Should this be the default? Isn't this redundant with the stripping done in fixup? To me it seems cargo-cultish. Either should be codified in buildGoModule, or not encouraged.
21:22:19
@rvdp:infosec.exchangeRamses 🇵🇸 joined the room.21:28:10
@graysontinker:matrix.orgGrayson Tinker joined the room.21:38:40
@ethancedwards8:matrix.orgethancedwards8 joined the room.21:43:51
@ethancedwards8:matrix.orgethancedwards8btw -s implies -w https://tip.golang.org/doc/go1.22#linker21:45:43
@ethancedwards8:matrix.orgethancedwards8* btw -s implies -w https://tip.golang.org/doc/go1.22#linker, but yes i agree it should be the default IMO 21:46:19
@rosssmyth:matrix.org@rosssmyth:matrix.orgOk, but aren't they redundant wrt the fixup stripping? 21:51:37
@rosssmyth:matrix.org@rosssmyth:matrix.org Also unrelated, but now that I'm in this channel:
the subPackages attribute is still broken under structuredAttrs, as in anyone who wants to use structuredAttrs cannot use it with subPackages with a length great than one right now.
https://github.com/NixOS/nixpkgs/pull/519903
21:53:27
@rosssmyth:matrix.org@rosssmyth:matrix.org * Also unrelated, but now that I'm in this channel:
the subPackages attribute is still broken under structuredAttrs, as in anyone who wants to use structuredAttrs cannot use it with subPackages with a length great than one right now.
Fix is here
https://github.com/NixOS/nixpkgs/pull/519903
21:53:35
@rosssmyth:matrix.org@rosssmyth:matrix.org Also just found that checkFlags is also broken under structuredAttrs 21:53:46
@rosssmyth:matrix.org@rosssmyth:matrix.orgWill have a similarly simple fix. 21:54:07
@rosssmyth:matrix.org@rosssmyth:matrix.org * Also just found that checkFlags is also broken under structuredAttrs in a similar way 21:54:46
15 Jun 2026
@xengi42:matrix.org@xengi42:matrix.org left the room.11:08:14
17 Jun 2026
@glepage:matrix.orgGaétan LepageHi! I'm looking for go-packaging specialists that could give an opinion on https://github.com/NixOS/nixpkgs/pull/524021/changes. It looks very dirty to me. Wouldn't there be a cleaner way to fix this?15:16:04
@katexochen:matrix.orgPaul Meyer (katexochen)You could open a PR upstream with the dependency update, then fetchpatch.19:07:20
@katexochen:matrix.orgPaul Meyer (katexochen)Ah, you already commented that, sorry. I think it is the right way, and I don't see why the change wound't be suitable for upstream.19:09:12
18 Jun 2026
@whispers:catgirl.cloudwhispers [& it/fae] changed their display name from whispers [& it/fae] to meow meow.18:46:00
@whispers:catgirl.cloudwhispers [& it/fae] changed their display name from meow meow to whispers [& it/fae].19:11:49
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

Show newer messages


Back to Room ListRoom Version: 9