!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

234 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.54 Servers

Load older messages


SenderMessageTime
2 Mar 2023
@qbit:tapenet.org@qbit:tapenet.org
/nix/store/sjn0iz3vji2lrj5r40vk4arn35mqchyl-go-1.18.10/share/go/pkg/tool/linux_amd64/compile -o $WORK/b117/_pkg_.a -trimpath "/nix/store/sjn0iz3vji2lrj5r40vk4arn35mqchyl-go-1.18.10/share/go/src/log=>log;$WORK/b117=>" -p log -std -compl>
cd /nix/store/sjn0iz3vji2lrj5r40vk4arn35mqchyl-go-1.18.10/share/go/src/vendor/golang.org/x/crypto/chacha20poly1305
/nix/store/sjn0iz3vji2lrj5r40vk4arn35mqchyl-go-1.18.10/share/go/pkg/tool/linux_amd64/asm -p vendor/golang.org/x/crypto/chacha20poly1305 -trimpath "/nix/store/sjn0iz3vji2lrj5r40vk4arn35mqchyl-go-1.18.10/share/go/src/vendor/golang.org/x/>
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_linux.go:2271:9: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)

19:34:16
@qbit:tapenet.org@qbit:tapenet.org
qbit@europa[1]:~/src/stayrtr(tags/v0.5.1)% go build -mod=vendor ./...
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_linux.go:2271:9: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)

phew

19:39:10
@qbit:tapenet.org@qbit:tapenet.orgcrazy, so go is behaving as expected19:53:04
@qbit:tapenet.org@qbit:tapenet.org under a normal build (go build ./...) go is taking into account all the sub go.mod files and the versions they have listed.. and it realizes that it is in fact OK to build.. 19:54:06
@qbit:tapenet.org@qbit:tapenet.org but with go build -mod=vendor - it doesn't take the versions into account 19:54:27
@qbit:tapenet.org@qbit:tapenet.orgya, feels icky to me 19:59:14
@0x4a6f:matrix.org[0x4A6F]Thanks for your help ❤️20:03:02
@qbit:tapenet.org@qbit:tapenet.orgfor some value of help :P - np!20:04:09
@qbit:tapenet.org@qbit:tapenet.org"hit it with a stick until the bugs fall out!" <-- my debugging technique :D20:07:35
@qbit:tapenet.org@qbit:tapenet.orgYay Ben!20:37:49
3 Mar 2023
@kalbasit:matrix.orgkalbasit joined the room.06:46:44
7 Mar 2023
@qbit:tapenet.org@qbit:tapenet.org hi kalbasit ! 02:49:50
@qbit:tapenet.org@qbit:tapenet.org Sandro 🐧: sorry - changed the PR out from under ya! (219900) 02:50:03
@sandro:supersandro.deSandro 🐧
In reply to @qbit:tapenet.org
Sandro 🐧: sorry - changed the PR out from under ya! (219900)
https://github.com/NixOS/nixpkgs/pull/219900
12:44:01
@qbit:tapenet.org@qbit:tapenet.org I think the hash mismatch is because it needs vendorProxy = true;, but then it doesn't build because some deps are missing.. 12:48:57
@sandro:supersandro.deSandro 🐧uff...12:51:56
@qbit:tapenet.org@qbit:tapenet.orgoh, there is already a new version 12:55:13
@qbit:tapenet.org@qbit:tapenet.orgheck12:55:14
@qbit:tapenet.org@qbit:tapenet.orgdamn13:00:04
@qbit:tapenet.org@qbit:tapenet.orghttp://sprunge.us/HEulsy13:00:24
@sandro:supersandro.deSandro 🐧You can just paste that into matrix. The legacy IRC gruft can be left behind.13:18:46
@sandro:supersandro.deSandro 🐧Did you invalidate the vendor hash?13:18:53
@qbit:tapenet.org@qbit:tapenet.org meaning set it to "" and re-build? 13:21:10
@qbit:tapenet.org@qbit:tapenet.orgif so, yes13:21:15
@sandro:supersandro.deSandro 🐧yes then no idea, go mod being itself again13:36:27
@qbit:tapenet.org@qbit:tapenet.orgwell, thanks for reviewing :D - i'll keep poking it for now13:38:36
@qbit:tapenet.org@qbit:tapenet.orghuh, it's the postBUild14:16:46
@qbit:tapenet.org@qbit:tapenet.org * huh, it's the postBuild 14:16:55
@qbit:tapenet.org@qbit:tapenet.org well.. idk now.. maybe post* is incompat with proxyVendor ?! 14:53:43
14 Mar 2023
@xor_alchemist:matrix.org@xor_alchemist:matrix.org joined the room.20:40:59

Show newer messages


Back to Room ListRoom Version: 9