guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build -K environment-variables


From: Ludovic Courtès
Subject: Re: build -K environment-variables
Date: Sun, 05 Jun 2016 14:52:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Federico Beffa <address@hidden> skribis:

> On Sat, Jun 4, 2016 at 9:46 PM, Thompson, David
> <address@hidden> wrote:
>> On Sat, Jun 4, 2016 at 12:23 PM, Federico Beffa <address@hidden> 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.

Ah ha!  That’s because of/thanks to the deterministic build directory
names now used by the daemon (commit
cb9601029ea164b86bdf997f7160d494c15d344b).

  
https://www.gnu.org/software/guix/manual/html_node/Build-Environment-Setup.html

(Scroll down.)

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]