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

Previous Next

Package: guix-patches;

Reported by: Ting-Wei Lan <lantw44 <at> gmail.com>

Date: Sat, 18 Mar 2023 14:56:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62259: closed ([PATCH] tests: Fix guix-home.sh when guix
 isn't installed)
Date: Sun, 26 Mar 2023 21:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 26 Mar 2023 23:26:30 +0200
with message-id <87a5zzb3w9.fsf <at> gnu.org>
and subject line Re: bug#62259: [PATCH] tests: Fix guix-home.sh when guix isn't installed
has caused the debbugs.gnu.org bug report #62259,
regarding [PATCH] tests: Fix guix-home.sh when guix isn't installed
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62259: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62259
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ting-Wei Lan <lantw44 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Ting-Wei Lan <lantw44 <at> gmail.com>
Subject: [PATCH] tests: Fix guix-home.sh when guix isn't installed
Date: Sat, 18 Mar 2023 22:54:54 +0800
* 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



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Ting-Wei Lan <lantw44 <at> gmail.com>
Cc: 62259-done <at> debbugs.gnu.org
Subject: Re: bug#62259: [PATCH] tests: Fix guix-home.sh when guix isn't
 installed
Date: Sun, 26 Mar 2023 23:26:30 +0200
Hi,

Ting-Wei Lan <lantw44 <at> 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’.


This bug report was last modified 2 years and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.