3 ms·
My solution is here: https://kevincox.ca/2022/01/02/nix-in-docker-caching/ https://kevincox.ca/2022/01/02/nix-in-docker-caching/ I basically expose the daemon
by kevincox 3y ago
My solution is here: https://kevincox.ca/2022/01/02/nix-in-docker-caching/ https://kevincox.ca/2022/01/02/nix-in-docker-caching/
I basically expose the daemon socket into the docker container so that it requests builds from the host. It means that everything is cached right on local disk. If you need more oomph than one machine will provide the cache won't be shared between different machines without extra effort but you can do a lot of building on a single machine (especially if a lot of stuff is using Nix so cached).