!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

873 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.183 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
4 Apr 2025
@emilazy:matrix.orgemilyI think they prefer a permanent non-shallow clone that gets fetched normally, or tarball downloads11:20:14
@joerg:thalheim.ioMic92Ok. but why is there CI not downloading tarballs?13:02:59
@emilazy:matrix.orgemilyno idea :) but I guess CI probably runs a lot less than people hit package indexes13:06:03
@joerg:thalheim.ioMic92I think it also makes a big difference if you just do this for nixpkgs instead of many small repos13:06:34
@joerg:thalheim.ioMic92Which I think is what CocoaPods is doing13:07:11
@qyliss:fairydust.spaceAlyssa RossCocoaPods at the time was one big repo13:08:06
@qyliss:fairydust.spaceAlyssa RossI'd imagine it's a lot more expensive with one big repo than with many small ones13:08:30
@qyliss:fairydust.spaceAlyssa Rosshttps://blog.cocoapods.org/Master-Spec-Repo-Rate-Limiting-Post-Mortem/13:08:59
@joerg:thalheim.ioMic92Also the question is, if those issues still persist. This was 2016. They have completely revamped their internal git implementation and make it distributed.13:15:03
@joerg:thalheim.ioMic92Because I don't see any performance degradation when fetching stuff this way. 13:16:05
@joerg:thalheim.ioMic92If not, I have even more a reason to fetch my git repository from elsewhere.13:17:24
@joerg:thalheim.ioMic92Just checked that cocoapods has 20 times the files of nixpkgs13:20:07
@emilazy:matrix.orgemilyfeel like hydra distributing nixexprs is still what makes the most sense after all this time :)14:05:05
@joerg:thalheim.ioMic92Maybe for some stuff but for my dotfiles, where I am hacking on my nixpkgs fork, the shallow clone is many times faster if I do single commits for bug fixes.14:06:19
@joerg:thalheim.ioMic92It should be even cheaper for github to compute this delta over serving me the whole nixpkgs all over again.14:07:32

Show newer messages


Back to Room ListRoom Version: 6