Subject: bug#62259: closed (Re: bug#62259: [PATCH] tests: Fix guix-home.sh when guix isn't installed)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 26 Mar 2023 21:27:02 +0000

Your bug report

#62259: [PATCH] tests: Fix guix-home.sh when guix isn't installed

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62259: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62259
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#62259: [PATCH] tests: Fix guix-home.sh when guix isn't installed
From: Ludovic Courtès <[email-masked]>
To: Ting-Wei Lan <[email-masked]>
Cc: [email-masked]
Date: Sun, 26 Mar 2023 23:26:30 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Ting-Wei Lan <[email-masked]> skribis:

> * tests/guix-home.sh: Reorder NIX_STORE_DIR variable definition to
> prevent guix from crashing due to missing /gnu/store.

Applied, thanks!

Ludo’.

Subject: [PATCH] tests: Fix guix-home.sh when guix isn't installed
From: Ting-Wei Lan <[email-masked]>
To: [email-masked]
Cc: Ting-Wei Lan <[email-masked]>
Date: Sat, 18 Mar 2023 22:54:54 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* tests/guix-home.sh: Reorder NIX_STORE_DIR variable definition to
prevent guix from crashing due to missing /gnu/store.
---
 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

base-commit: 99114eb63895712d2d3e62c5a83e3a1540438f15
-- 
2.39.2