!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

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

Load older messages


SenderMessageTime
1 Nov 2023
@qbit:tapenet.org@qbit:tapenet.orgthey are def doing some funky stuff with the build15:26:49
@qbit:tapenet.org@qbit:tapenet.orglike the tests point to things that don't exist..15:27:20
@bumperboat:matrix.orgbumperboatthanks for your help 🙏I put in an issue with upstream to see if they have ideas 🤗15:59:01
@qbit:tapenet.org@qbit:tapenet.orgnp! sorry i couldn't resolve it :D16:03:09
@bumperboat:matrix.orgbumperboatyou were super helpful thanks!16:03:22
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.orgbumperboat 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.orgbumperboatim not sure why buildGoModule doesnt just do a go build15:32:44
@qbit:tapenet.org@qbit:tapenet.orgi'd for sure leave a comment in the derivation for someone that is updating it15:33:16
@qbit:tapenet.org@qbit:tapenet.orgor maybe check if vendorHash = "", then do the preBuild step ..15:33:32
@bumperboat:matrix.orgbumperboatyep i left in a comment15:34:00
@bumperboat:matrix.orgbumperboatim hoping there is another way to not build the mocks - maybe with submodule as the mock binaries get put in the bin dir in the store15:34:55
@bumperboat:matrix.orgbumperboat*subPackage15:36:38
3 Nov 2023
@mib:kanp.aimib 🥐 changed their profile picture.13:52:50
10 Nov 2023
@globin:toznenetl.chatglobin joined the room.00:49:55
@pfz4:zettoit.eupaul / pfz4 joined the room.16:44:35
@pfz4:zettoit.eupaul / pfz4 left the room.16:44:39
11 Nov 2023
@katexochen:matrix.orgPaul Meyer (katexochen)Athens is a self-hosted Go proxy that can speed up your Go builds. There is a PR open that adds it as NixOS module and needs a second review 😉: https://github.com/NixOS/nixpkgs/pull/26534918:13:21
@qbit:tapenet.org@qbit:tapenet.org Nice 18:50:56
@brian:bmcgee.ieBMG joined the room.19:54:11
13 Nov 2023
@svitax:matrix.orgsvitax joined the room.07:06:01
@galaxyyy:matrix.orgSaturn joined the room.13:16:18
15 Nov 2023
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.15:54:57

There are no newer messages yet.


Back to Room ListRoom Version: 9