[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: tests: Fix guix-home.sh when guix isn't installed
From: |
guix-commits |
Subject: |
04/06: tests: Fix guix-home.sh when guix isn't installed |
Date: |
Sun, 26 Mar 2023 17:36:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f5c62f106d598b1edca48cdb623345af34348e5e
Author: Ting-Wei Lan <lantw44@gmail.com>
AuthorDate: Sat Mar 18 22:54:54 2023 +0800
tests: Fix guix-home.sh when guix isn't installed
* tests/guix-home.sh: Reorder NIX_STORE_DIR variable definition to
prevent guix from crashing due to missing /gnu/store.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
tests/guix-home.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/guix-home.sh b/tests/guix-home.sh
index 3151f66683..11b068ca43 100644
--- a/tests/guix-home.sh
+++ b/tests/guix-home.sh
@@ -36,8 +36,8 @@ container_supported ()
fi
}
-NIX_STORE_DIR="$(guile -c '(use-modules (guix config))(display %storedir)')"
localstatedir="$(guile -c '(use-modules (guix config))(display
%localstatedir)')"
+NIX_STORE_DIR="$(guile -c '(use-modules (guix config))(display %storedir)')"
GUIX_DAEMON_SOCKET="$localstatedir/guix/daemon-socket/socket"
export NIX_STORE_DIR GUIX_DAEMON_SOCKET
- branch master updated (9ec1af39e2 -> c06b6ce257), guix-commits, 2023/03/26
- 05/06: gnu: haproxy: Update to 2.7.5., guix-commits, 2023/03/26
- 01/06: doc: Properly document 'replace' clause of 'modify-inputs'., guix-commits, 2023/03/26
- 06/06: gnu: haproxy: Move to (gnu packages high-availability)., guix-commits, 2023/03/26
- 03/06: gnu: chez-scheme-for-racket-bootstrap-bootfiles: change for aarch64., guix-commits, 2023/03/26
- 02/06: services: herd: Remove workaround for Shepherd < 0.5.0., guix-commits, 2023/03/26
- 04/06: tests: Fix guix-home.sh when guix isn't installed,
guix-commits <=