| 30 May 2025 |
@s_r:matrix.org | that's how other languages with their own package modules work (haskell, elisp, python, ...) | 18:23:56 |
jrick | the difference is those all suck :) | 18:24:15 |
@s_r:matrix.org | that I would not dispute :) | 18:24:43 |
@s_r:matrix.org | but I still feel a bit dirty for using packages downloaded in my home directory when running in a nix shell :p | 18:25:24 |
@s_r:matrix.org | maybe is possible to get the dependencies with go mod but store them as output of some derivation and use that as buildInput for the actual package that you are building... | 18:26:50 |
jrick | GOMODCACHE will override where modules are downloaded to | 18:27:52 |
jrick | it can also be cleared at any time with go clean -modcache | 18:28:39 |