| 2 Nov 2023 |
@qbit:tapenet.org | to specify what you want to build | 12:33:02 |
netthier | 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 | swoot | 13:16:00 |
@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 | gross | 15:31:29 |
@bumperboat:matrix.org | im not sure why buildGoModule doesnt just do a go build | 15:32:44 |
@qbit:tapenet.org | i'd for sure leave a comment in the derivation for someone that is updating it | 15:33:16 |
@qbit:tapenet.org | or maybe check if vendorHash = "", then do the preBuild step .. | 15:33:32 |
@bumperboat:matrix.org | yep i left in a comment | 15:34:00 |
@bumperboat:matrix.org | im 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 store | 15:34:55 |