!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community Projects

649 Members
Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel). Need help from an admin? Open an issue on https://github.com/nix-community/infra/issues164 Servers

Load older messages


SenderMessageTime
27 Oct 2023
@pwychowaniec:matrix.orgpwychowaniec Jonas Chevalier: axel 🦀 has volunteered for maintaining Naersk - do you know what are the next steps here to implement this? 😄 05:41:15
@joerg:thalheim.ioMic92 adisbladis: https://github.com/numtide/build-go-cache 06:34:56
@adis:blad.isadisbladis
In reply to @joerg:thalheim.io
adisbladis: https://github.com/numtide/build-go-cache
Right, so you get one massive cache for the whole project, not any incrementality?
06:36:06
@joerg:thalheim.ioMic92Just for dependencies and not the source of the project.06:36:53
@joerg:thalheim.ioMic92One could potentially split this up, but I am not seeing the benefit vs. complexity in this.06:37:23
@adis:blad.isadisbladisI always tried to get a recursive thing going as my motivation was to maximise reuse06:37:53
@joerg:thalheim.ioMic92I have the feeling that the eval time of this would be higher than the speed of the go compiler. 06:38:30
@adis:blad.isadisbladisBut when I did that all compiler savings were dwarfed by copying files around06:38:38
@joerg:thalheim.ioMic92the cache also speeds up proxyVendor = true;06:39:26
@joerg:thalheim.ioMic92Because we are using GOMODCACHE06:39:37
@adis:blad.isadisbladis(I was using gomod2nix)06:39:44
@joerg:thalheim.ioMic92Can cache entries not be symlinked into one tree from single dependencies?06:40:37
@adis:blad.isadisbladisI don't think so06:41:02
@adis:blad.isadisbladisMy memory is extremely fuzzy about this06:41:27
@adis:blad.isadisbladisBut as far as I remember it it's just a pile of files that the compiler mutates06:41:50
@joerg:thalheim.ioMic92The go cache works a bit like nix.06:42:00
@adis:blad.isadisbladisSo merging behaviour is hard06:42:01
@joerg:thalheim.ioMic92It computes a cache key over the inputs.06:42:12
@joerg:thalheim.ioMic92Afterwards cache entries shouldn't be mutated06:42:21
@joerg:thalheim.ioMic92 you can do GODEBUG=gocachehash=1 go build net to see how the hash is computed. 06:43:11
@zimbatm:numtide.comJonas 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:matrix.orgpwychowaniechttps://github.com/AxelSilverdew :-) 09:19:56
@zimbatm:numtide.comJonas Chevalierthanks, I sent the invite12:35:16
@pwychowaniec:matrix.orgpwychowaniecgreat, thanks!12:37:31
@axel:krab.chataxel 🦀Just accepted!13:02:25
@zimbatm:numtide.comJonas ChevalierWelcome!14:19:41
@axel:krab.chataxel 🦀Thank you! 😄14:19:59
29 Oct 2023
@zzywysm:matrix.orgzzywysm joined the room.00:10:35
30 Oct 2023
@ilserd:envs.net@ilserd:envs.net joined the room.10:49:45
@zzywysm:matrix.orgzzywysm set a profile picture.14:27:04

Show newer messages


Back to Room ListRoom Version: 6