Nix + Go | 217 Members | |
| Go packaging for and with Nixpkgs. | Be excellent to each other. | 46 Servers |
| Sender | Message | Time |
|---|---|---|
| 5 Jan 2024 | ||
| how so? | 15:17:04 | |
| For example, first trouble that I got was hard coded go version | 15:17:47 | |
| So, buildGo120Module using 1.20.12 version, but package requiring from Makefile exactly 1.20 version | 15:18:17 | |
| you shouldn't need to use the makefile | 15:18:37 | |
| link to the repo in question? | 15:18:50 | |
| Probably, you can quickly help me, because I spent a lot of time with that I have this
So, repo https://github.com/neutron-org/neutron/ have a go.mod, which have listed go modules to prefetch. All that stuff we need to build cmd/neutrond dir. But, inside of main.go here we have module that we should fetch again. So, I have troubles with that "post-fetch" during building | 15:23:07 | |
| * Probably, you can quickly help me, because I spent a lot of time with that I have this
So, repo https://github.com/neutron-org/neutron/ have a go.mod, which have listed go modules to prefetch. All that stuff we need to build cmd/neutrond dir. But, inside of main.go here we have module that forcing us to fetch other modules during build. So, I have troubles with that "post-fetch" during building | 15:24:15 | |
| Of course, if I need to skip post fetching and skip that needness of fetching additional packages, I should list all deps in go.mod, as I suppose | 15:26:07 | |
| Smells like this repo need cleaning | 15:26:43 | |
| so your vendorHash means you are already getting the deps | 15:26:51 | |