Federico Beffa <be...@ieee.org> skribis: > On Sat, Jun 4, 2016 at 9:46 PM, Thompson, David > <dthomps...@worcester.edu> wrote: >> On Sat, Jun 4, 2016 at 12:23 PM, Federico Beffa <be...@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’.