!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

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

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


SenderMessageTime
2 Nov 2023
@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
@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.org@bumperboat:matrix.orgyep i left in a comment15:34:00
@bumperboat:matrix.org@bumperboat:matrix.orgim 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

Show newer messages


Back to Room ListRoom Version: 9