| 27 Oct 2023 |
Mic92 | One could potentially split this up, but I am not seeing the benefit vs. complexity in this. | 06:37:23 |
adisbladis | I always tried to get a recursive thing going as my motivation was to maximise reuse | 06:37:53 |
Mic92 | I have the feeling that the eval time of this would be higher than the speed of the go compiler. | 06:38:30 |
adisbladis | But when I did that all compiler savings were dwarfed by copying files around | 06:38:38 |
Mic92 | the cache also speeds up proxyVendor = true; | 06:39:26 |
Mic92 | Because we are using GOMODCACHE | 06:39:37 |
adisbladis | (I was using gomod2nix) | 06:39:44 |
Mic92 | Can cache entries not be symlinked into one tree from single dependencies? | 06:40:37 |
adisbladis | I don't think so | 06:41:02 |
adisbladis | My memory is extremely fuzzy about this | 06:41:27 |
adisbladis | But as far as I remember it it's just a pile of files that the compiler mutates | 06:41:50 |
Mic92 | The go cache works a bit like nix. | 06:42:00 |
adisbladis | So merging behaviour is hard | 06:42:01 |
Mic92 | It computes a cache key over the inputs. | 06:42:12 |
Mic92 | Afterwards cache entries shouldn't be mutated | 06:42:21 |
Mic92 | you can do GODEBUG=gocachehash=1 go build net to see how the hash is computed. | 06:43:11 |
Jonas Chevalier | In reply to @pwychowaniec:matrix.org Jonas Chevalier: axel 🦀 has volunteered for maintaining Naersk - do you know what are the next steps here to implement this? 😄 great! ping me his github handle and I will take care of the rest | 09:19:10 |
pwychowaniec | https://github.com/AxelSilverdew :-) | 09:19:56 |
Jonas Chevalier | thanks, I sent the invite | 12:35:16 |
pwychowaniec | great, thanks! | 12:37:31 |
axel 🦀 | Just accepted! | 13:02:25 |
Jonas Chevalier | Welcome! | 14:19:41 |
axel 🦀 | Thank you! 😄 | 14:19:59 |
| 29 Oct 2023 |
| zzywysm joined the room. | 00:10:35 |
| 30 Oct 2023 |
| @ilserd:envs.net joined the room. | 10:49:45 |
| zzywysm set a profile picture. | 14:27:04 |
| 31 Oct 2023 |
| Anthony Rsl joined the room. | 03:28:57 |
@pkolloch:matrix.org | Heyo! What is the purpose of nixpkgs.lib? | 08:22:40 |
axel 🦀 | Based on a quick glance it looks like it holds all the nixpkgs library functions | 08:25:04 |
axel 🦀 | These things: https://nixos.org/manual/nixpkgs/stable/#sec-functions-library | 08:25:40 |