guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] 05/08: Fix bogus 'cond-expand'.


From: Ludovic Courtès
Subject: [shepherd] 05/08: Fix bogus 'cond-expand'.
Date: Wed, 26 Sep 2018 08:57:56 -0400 (EDT)

civodul pushed a commit to branch master
in repository shepherd.

commit f9e9ab2abdb7723f993a3b7fa6da83f68c369da2
Author: Ludovic Courtès <address@hidden>
Date:   Wed Sep 26 14:36:52 2018 +0200

    Fix bogus 'cond-expand'.
    
    * modules/shepherd/support.scm (initialize-cli): Use 'if-2.0' instead of
    a bogus 'cond-expand'.
---
 modules/shepherd/support.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/shepherd/support.scm b/modules/shepherd/support.scm
index 9df9c36..02d8c84 100644
--- a/modules/shepherd/support.scm
+++ b/modules/shepherd/support.scm
@@ -219,9 +219,8 @@ output port, and PROC's result is returned."
     (debug-disable 'warn-deprecated))
 
   ;; In Guile 2.2+, the locale is installed by default.
-  (cond-expand
-    (guile-2.0 (false-if-exception (setlocale LC_ALL "")))
-    (else      #t))
+  (if-2.0 (false-if-exception (setlocale LC_ALL ""))
+          #t)
 
   (bindtextdomain %gettext-domain %localedir)
   (textdomain %gettext-domain)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]