From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Reproducing test failures that only happen when run by guix daemon Date: Tue, 02 Aug 2016 23:24:30 +0200 Message-ID: <878twe984x.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUhB0-0007Qd-9x for guix-devel@gnu.org; Tue, 02 Aug 2016 17:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUhAx-00080W-5A for guix-devel@gnu.org; Tue, 02 Aug 2016 17:24:38 -0400 In-Reply-To: (David Craven's message of "Tue, 2 Aug 2016 20:16:55 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel David Craven skribis: >> How do I go about reproducing what happens when the tests are run by >> guix-daemon? > > Answering my own question: > env -i $(which bash) --noprofile --norc > source environment-variables Also =E2=80=98tar xf $(guix build -S the-package) && guix environment the-package --container=E2=80=99. (With the caveat that the guix-daemon chroot lacks /bin/sh, whereas =E2=80=98guix environment --container=E2=80=99 provides it, for convenience= .) > Maybe this should be mentioned in the manual? Probably! Under the =E2=80=98gnu-build-system=E2=80=99 part of =E2=80=9CBu= ild Systems=E2=80=9D I=E2=80=99d say, since it=E2=80=99s a feature of =E2=80=98gnu-build-system=E2=80=99 (inherit= ed by most other build systems). Ludo=E2=80=99.