* build -K environment-variables
@ 2016-06-04 16:23 Federico Beffa
2016-06-04 19:46 ` Thompson, David
0 siblings, 1 reply; 4+ messages in thread
From: Federico Beffa @ 2016-06-04 16:23 UTC (permalink / raw
To: Guix-devel
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"
Regards,
Fede
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: build -K environment-variables
2016-06-04 16:23 build -K environment-variables Federico Beffa
@ 2016-06-04 19:46 ` Thompson, David
2016-06-04 19:58 ` Federico Beffa
0 siblings, 1 reply; 4+ messages in thread
From: Thompson, David @ 2016-06-04 19:46 UTC (permalink / raw
To: Federico Beffa; +Cc: Guix-devel
On Sat, Jun 4, 2016 at 12:23 PM, Federico Beffa <beffa@ieee.org> 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?
- Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: build -K environment-variables
2016-06-04 19:46 ` Thompson, David
@ 2016-06-04 19:58 ` Federico Beffa
2016-06-05 12:52 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Federico Beffa @ 2016-06-04 19:58 UTC (permalink / raw
To: Thompson, David; +Cc: Guix-devel
On Sat, Jun 4, 2016 at 9:46 PM, Thompson, David
<dthompson2@worcester.edu> wrote:
> On Sat, Jun 4, 2016 at 12:23 PM, Federico Beffa <beffa@ieee.org> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: build -K environment-variables
2016-06-04 19:58 ` Federico Beffa
@ 2016-06-05 12:52 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-06-05 12:52 UTC (permalink / raw
To: Federico Beffa; +Cc: Guix-devel
Federico Beffa <beffa@ieee.org> skribis:
> On Sat, Jun 4, 2016 at 9:46 PM, Thompson, David
> <dthompson2@worcester.edu> wrote:
>> On Sat, Jun 4, 2016 at 12:23 PM, Federico Beffa <beffa@ieee.org> 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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-05 12:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-04 16:23 build -K environment-variables Federico Beffa
2016-06-04 19:46 ` Thompson, David
2016-06-04 19:58 ` Federico Beffa
2016-06-05 12:52 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.