doc: Recommend building in ‘guix shell -CPW’.
This was prompted by <https://issues.guix.gnu.org/66537>, where someone tried to build Guix within ‘guix shell --pure’ on a foreign distro and found that ./configure would pick software from the host system. Suggested by Hiep Pham <hiepph9@proton.me>. * doc/contributing.texi (Building from Git): Recommend ‘guix shell -CPW’. Change-Id: I7694b482d982917fef6ec404f68ddacea761f482
parent
7308129335
commit
01361d46b8
|
@ -76,15 +76,17 @@ all the dependencies and appropriate environment variables are set up to
|
||||||
hack on Guix:
|
hack on Guix:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
guix shell -D guix --pure
|
guix shell -D guix -CPW
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
or even, from within a Git worktree for Guix:
|
or even, from within a Git worktree for Guix:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
guix shell --pure
|
guix shell -CPW
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
If @option{-C} (short for @option{--container}) is not supported on your
|
||||||
|
system, try @command{--pure} instead of @option{-CPW}.
|
||||||
@xref{Invoking guix shell}, for more information on that command.
|
@xref{Invoking guix shell}, for more information on that command.
|
||||||
|
|
||||||
If you are unable to use Guix when building Guix from a checkout, the
|
If you are unable to use Guix when building Guix from a checkout, the
|
||||||
|
|
Reference in New Issue