"Claes Wallin (韋嘉誠)" <g...@clacke.user.lysator.liu.se> skribis:
> How do people compile guix directly from git source? I've been > searching around in HACKING and manual.html#Contributing and other > places, the internet in general, and haven't been able to find any > instructions. > > It ought to be: > > 1. Get dependencies manually or with 'guix environment guix'. > 2. aclocal > 3. automake, maybe automake -a > 4. autoconf > 5. configure --sharedstatedir=/var --with-libgcrypt-prefix=wherever > 6. make Replace #2, #3, and #4 with just “autoreconf -vfi”. For #5, you probably mean --localstatedir, not --sharedstatedir. > But #3 fails. nix/config.h.in is missing, maybe other things too but > that's where it halts. Don’t worry, ‘autoreconf’ will do the right thing. :-) Alternately, you can also do: guix build guix --with-source=/path/to/guix where the last component of /path/to/guix is literally ‘guix’, and where /path/to/guix contains a possibly pristine checkout. But of course, that command builds from scratch, which may not be what you want. HTH! Ludo’.