New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Builds and shell builds the whole of nix for its manual #493
Comments
Seems the flake is now tracking the latest release. which was done here Besides that, the flake.lock file is being updated by a GitHub Actions Bot, so it's tracking the cutting (bleeding) edge, stuff that has not been built by hydra yet and cached on cache.nixos.org. so nix is doing exactly what is supposed to do!!! :-) ... Work around... git checkout 25a22e0 nix-shell i guess the main thing is should the master branch tracking the bleeding edge builds? or stable? Perhaps a 'branch of bleeding edge' might be needed, or the flake.lock get updated a little be slower so hydra has time to cache it? |
I believe it may happen that a specific revision ends up not being cached for small whiles. The Though, there is one little caveat, I am not sure that with flakes So in the end, having a short-circuited build that only builds the manual is still worthwhile. |
I can see two things to improve current situation:
I don't see the solution happening in @edolstra Would above suggestions to improve be OK to implement for Nix? |
It sounds like a lot of work to speed up the nixos-homepage build a little bit. And most of the time the nix package used by nixos-homepage should be in the binary cache anyway. |
This
nix
is ending up building nix in its entirety only for the nix manuals.Can short-circuit the whole build and build only the manual rather than the whole tool? Makes for a slow ramp-up when hacking on the homepage, using
nix-shell
.cc: @ixxie who reported on IRC
The text was updated successfully, but these errors were encountered: