!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

231 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.50 Servers

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


SenderMessageTime
23 Jul 2023
@artturin:matrix.orgArtturin

the last message from go mod vendor is

k2tf> go: replacement path ./vendor/k8s.io/cli-runtime/pkg/kustomize/k8sdeps/transformer inside vendor directory
16:19:10
@artturin:matrix.orgArtturin

tinygo.goModules

error: illegal path references in fixed-output derivation '/nix/store/06v7rn03bgsnzvv89dn8i2a6kap1fijl-tinygo-0.26.0-goModules.drv'
16:28:47
@artturin:matrix.orgArtturinThese modules built correctly on older go versions but not on newer go versions16:29:11
@artturin:matrix.orgArtturinHow can vendoring break version to version, Go damn16:29:49
@artturin:matrix.orgArtturin * How can vendoring break in multiple ways version to version, Go damn16:30:43
@qbit:tapenet.org@qbit:tapenet.orgIs there a rewrite in the go.mod?17:17:55
@atalii:matrix.org@atalii:matrix.org joined the room.17:58:44
@atalii:matrix.org@atalii:matrix.org is it okay if i ask a quick question about buildGoModule here? i'm reading through the sourcue to get an idea of how to handle deps for a different language and build system, and it seems that the buildPhase of buildGoModule calls go mod vendor or go mod package. that seems to require the network, but it also seems to work in the sandbox. would anyone be able to tell me what i'm missing here? thanks :) 18:00:56
@qbit:tapenet.org@qbit:tapenet.orgthe vendor stuff gets put in to its own derivation which gets linked in at build 18:26:51

Show newer messages


Back to Room ListRoom Version: 9