Subject: [bug#35742] [PATCH] doc: use pure environment when building from git

From: Giovanni Biscuolo <[email-masked]>
Date: Wed, 15 May 2019 10:40:28 +0200

Hello,

sometimes new users get configure issues on foreign distros for not
using pure build environments, e.g.:

 http://lists.gnu.org/archive/html/guix-devel/2019-05/msg00280.html

this is a tiny proposal to add "--pure" to the environment, it should be
legit on Guix systems too AFAIU

Thanks! Gio'

>From 90a4cb1732e111c78405bded1b7e1248ec06438d Mon Sep 17 00:00:00 2001
From: Giovanni Biscuolo <[email-masked]>
Date: Wed, 15 May 2019 10:28:40 +0200
Subject: [PATCH] doc: use pure environment when building from git

* doc/contributing.texi (Building from Git): Add --pure to "guix environment"
  invocations
---
 doc/contributing.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/contributing.texi b/doc/contributing.texi
index 5331d3e18a..6770fae222 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -57,14 +57,14 @@ all the dependencies and appropriate environment variables are set up to
 hack on Guix:
 
 @example
-guix environment guix
+guix environment guix --pure
 @end example
 
 @xref{Invoking guix environment}, for more information on that command.
 Extra dependencies can be added with @option{--ad-hoc}:
 
 @example
-guix environment guix --ad-hoc help2man git strace
+guix environment guix --pure --ad-hoc help2man git strace
 @end example
 
 Run @command{./bootstrap} to generate the build system infrastructure
-- 
2.11.0

-- 
Giovanni Biscuolo

Xelera IT Infrastructures