From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: build -K environment-variables Date: Sat, 4 Jun 2016 21:58:45 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9Hia-0000J3-0T for guix-devel@gnu.org; Sat, 04 Jun 2016 15:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9HiZ-0008Nn-0e for guix-devel@gnu.org; Sat, 04 Jun 2016 15:58:48 -0400 Received: from mail-vk0-x236.google.com ([2607:f8b0:400c:c05::236]:36025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9HiY-0008Ni-Rv for guix-devel@gnu.org; Sat, 04 Jun 2016 15:58:46 -0400 Received: by mail-vk0-x236.google.com with SMTP id c66so1801003vkb.3 for ; Sat, 04 Jun 2016 12:58:46 -0700 (PDT) In-Reply-To: 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: "Thompson, David" Cc: Guix-devel On Sat, Jun 4, 2016 at 9:46 PM, Thompson, David wrote: > On Sat, Jun 4, 2016 at 12:23 PM, Federico Beffa wrote: >> Hi, >> >> the content of the 'environment-variables' file left after a failed >> build do look odd... >> >> $ pwd >> /tmp/guix-build-chez-sockets-0.0-1.f90e817.drv-2 >> $ cat environment-variables | grep "drv-0" >> export NIX_BUILD_TOP="/tmp/guix-build-chez-sockets-0.0-1.f90e817.drv-0" >> export PWD="/tmp/guix-build-chez-sockets-0.0-1.f90e817.drv-0/source" >> export TEMP="/tmp/guix-build-chez-sockets-0.0-1.f90e817.drv-0" >> export TEMPDIR="/tmp/guix-build-chez-sockets-0.0-1.f90e817.drv-0" >> export TMP="/tmp/guix-build-chez-sockets-0.0-1.f90e817.drv-0" >> export TMPDIR="/tmp/guix-build-chez-sockets-0.0-1.f90e817.drv-0" > > What is odd about them? That the files are placed into /tmp/....drv-2, but the variables point to /tmp/...drv-0. Fede