| 24 Jan 2023 |
Sandro 🐧 | if sourcehut is continue with its plan, then yes | 15:49:17 |
@qbit:tapenet.org | right, but there is some over-email interactions now that might change things | 15:54:55 |
@qbit:tapenet.org | https://news.ycombinator.com/item?id=34314668 | 15:55:25 |
@qbit:tapenet.org | time will tell | 15:55:31 |
| 25 Jan 2023 |
@qbit:tapenet.org | hm, there are a number of pull requests like this one: https://github.com/NixOS/nixpkgs/pull/212596 | 18:15:18 |
@qbit:tapenet.org | which add buildGoModule support by pulling in a patch from a fork that isn't upstream'd (and no indication if upstream has been contacted - i didn't look too hard though) | 18:15:57 |
@qbit:tapenet.org | that feels pretty icky to me | 18:16:05 |
@qbit:tapenet.org | do we want to move things to buildGoModules that bad? | 18:16:18 |
@qbit:tapenet.org | really need to get the other go maintainers in here :D | 18:21:59 |
| @qbit:tapenet.org invited kalbasit. | 18:23:53 |
| @qbit:tapenet.org invited Mic92. | 18:23:55 |
| Mic92 joined the room. | 18:25:15 |
@qbit:tapenet.org | hio! | 18:25:23 |
@qbit:tapenet.org | mk, seems a number of them are upstream'd or "new" upstream'd | 18:48:02 |
| 26 Jan 2023 |
Sandro 🐧 | I just noticed that pre/postPatch and postBuild don't apply to vendoring in buildGoModule which was kinda unexpected
https://github.com/NixOS/nixpkgs/pull/212800 | 16:10:24 |
@qbit:tapenet.org | seems reasonable to me :D | 16:22:53 |
| 27 Jan 2023 |
@qbit:tapenet.org | Sandro 🐧: Thanks for all the info! | 16:36:14 |
| jhillyerd joined the room. | 17:29:13 |
| 30 Jan 2023 |
@qbit:tapenet.org | hihi | 14:21:13 |
| 31 Jan 2023 |
| @adam:valkor.net joined the room. | 15:22:29 |
@adam:valkor.net | Is there a way to just add the gomod support to a derivation? Kitty is already a buildPythonApplication derivation, but they've added a go build dependency in the latest release | 15:27:46 |
@adam:valkor.net | Or is there another way for me to build a derivation combining the two different language envs? | 15:28:23 |
@qbit:tapenet.org | you could do something like in pkgs/misc/logging/beats/7.x.nix | 15:29:57 |
@qbit:tapenet.org | is the go source in the kitty repo? | 15:30:30 |
@qbit:tapenet.org | oh, sorry - i though tbeats was building some other non-go package, looks like they are all go | 15:30:57 |
@adam:valkor.net | looks like yes https://github.com/kovidgoyal/kitty/tree/master/tools/cli | 15:31:21 |
@qbit:tapenet.org | maybe just have the go 1.19 compiler available and use the existing derivation ? | 15:33:37 |
@qbit:tapenet.org | it's not immediately clear where it's actually building the go stuff (nothing obvious in the makefile) | 15:34:10 |
@adam:valkor.net | the modules aren't vendored though, so it looks like it's failing on pulling them | 15:34:13 |
@qbit:tapenet.org | ohhh, gross | 15:34:25 |