!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

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

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


SenderMessageTime
2 Nov 2023
@netthier:matrix.orgnetthier joined the room.11:40:22
@netthier:matrix.orgnetthier I'm trying to submit an update PR for the kluctl package, but it's refusing to build. I'm struggling to find any relevant results for the error on Google, and the error does not occur when building the package manually using the official instructions.
error: builder for '/nix/store/jqkx3yj3q2x73k5y0ch5pq0g0q3d1kag-kluctl-2.22.0.drv' failed with exit code 1;
       last 10 log lines:
       > Building subPackage ./e2e
       > Building subPackage ./e2e/test-utils
       > Building subPackage ./e2e/test-utils/http-server
       > Building subPackage ./e2e/test-utils/port-tool
       > Building subPackage ./e2e/test-utils/test-helm-chart
       > Building subPackage ./e2e/test_project
       > Building subPackage ./e2e/test_resources
       > Building subPackage ./install/controller
       > Building subPackage ./internal/ipfs-exchange-info
       > main module (github.com/kluctl/kluctl/v2) does not contain package github.com/kluctl/kluctl/v2/internal/ipfs-exchange-info
       For full logs, run 'nix log /nix/store/jqkx3yj3q2x73k5y0ch5pq0g0q3d1kag-kluctl-2.22.0.drv'.
Anyone know what could be going on here?
11:40:54
@qbit:tapenet.org@qbit:tapenet.org netthier: is it supposed to build test_* packages? 12:32:33
@qbit:tapenet.org@qbit:tapenet.org if not use subPackages = [ "stuff" ]; 12:32:57
@qbit:tapenet.org@qbit:tapenet.orgto specify what you want to build12:33:02
@netthier:matrix.orgnetthier
In reply to@qbit:tapenet.org
if not use subPackages = [ "stuff" ];
Thanks, specifying exclusively the cmd package did indeed result in a successful build
13:09:08
@qbit:tapenet.org@qbit:tapenet.orgswoot13:16:00
@bumperboat:matrix.org@bumperboat:matrix.org so, the resticprofile repo uses go generate ./... to generate the mocks - if I put that in a preBuild - it allows the build phase to finish to where it outputs the vendorHash - once I put the hash in I can remove the preBuild and it builds 15:30:51
@qbit:tapenet.org@qbit:tapenet.orggross15:31:29
@bumperboat:matrix.org@bumperboat:matrix.orgim not sure why buildGoModule doesnt just do a go build15:32:44

Show newer messages


Back to Room ListRoom Version: 9