unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62259] [PATCH] tests: Fix guix-home.sh when guix isn't installed
@ 2023-03-18 14:54 Ting-Wei Lan
  2023-03-26 21:26 ` bug#62259: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ting-Wei Lan @ 2023-03-18 14:54 UTC (permalink / raw)
  To: 62259; +Cc: Ting-Wei Lan

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#62259: [PATCH] tests: Fix guix-home.sh when guix isn't installed
  2023-03-18 14:54 [bug#62259] [PATCH] tests: Fix guix-home.sh when guix isn't installed Ting-Wei Lan
@ 2023-03-26 21:26 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-03-26 21:26 UTC (permalink / raw)
  To: Ting-Wei Lan; +Cc: 62259-done

Hi,

Ting-Wei Lan <lantw44@gmail.com> skribis:

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

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-26 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-18 14:54 [bug#62259] [PATCH] tests: Fix guix-home.sh when guix isn't installed Ting-Wei Lan
2023-03-26 21:26 ` bug#62259: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).