bug#35776: Test guix-pack-localstatedir.sh and guix-pack-relocatable.sh crash when /gnu/store doesn't exist

2019-05-17 Thread Ting-Wei Lan
When running these two tests in a clean environment without having Guix installed first, they crash when trying to obtain the value of localstatedir. + guix pack --version guix pack (GNU Guix) 1.0.0.711-f52e8-dirty Copyright (C) 2019 the Guix authors License GPLv3+: GNU GPL version 3 or later

bug#35776: Test guix-pack-localstatedir.sh and guix-pack-relocatable.sh crash when /gnu/store doesn't exist

2019-05-18 Thread Ludovic Courtès
Ting-Wei Lan skribis: > It seems to me that the reason is that NIX_STORE_DIR is exported by > test-env script, so the line > NIX_STORE_DIR="`guile -c '(use-modules (guix config))(display %storedir)'`" > not only changes the value of shell variable NIX_STORE_DIR but also > exports it to the enviro