"Feng Shu" <[email protected]> writes: > Now I have found that 'guix pull' is too slow, > I need 3 hours to compile guix, is it possible to speed it ?
Maybe you can try building from git instead? I used to run
'$ guix pull && guix package --upgrade', but it gets slower as the
number of packages of guix increases. So now I use
'$ git pull && make -j`nproc` && ./pre-inst-env guix package --upgrade'.
You can read the manual[0] for more info.
If you use emacs-guix, you need to tell emacs-guix the location of your
git repository as well. I am unware of how others do it. Here is how I
do it:
(require 'guix-autoloads)
(guix-prettify-global-mode)
(setq-default guix-current-profile
(file-chase-links "~/.guix-profile" 1))
(setq-default guix-directory "~/scm/guix/")
(require 'guix-build-config)
(let ((guix-src-dir (expand-file-name "~/scm/guix/")))
(setq-default guix-config-image-directory guix-src-dir)
(setq-default guix-config-guix-scheme-compiled-directory guix-src-dir))
[0]: https://www.gnu.org/software/guix/manual/html_node/Building-from-Git.html
signature.asc
Description: PGP signature
