summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/guix-package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index c9e0c08a22..4d75955411 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -194,6 +194,9 @@ export HOME
 
 mkdir -p "$HOME"
 
+# Get the canonical directory name so that 'guix package' recognizes it.
+HOME="`cd $HOME; pwd -P`"
+
 guix package --bootstrap -i guile-bootstrap
 test -L "$HOME/.guix-profile"
 test -f "$HOME/.guix-profile/bin/guile"