guix-commits
[Top][All Lists]
Advanced

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

branch master updated: guix: meson-configuration: Fix boolean assigment.


From: guix-commits
Subject: branch master updated: guix: meson-configuration: Fix boolean assigment.
Date: Wed, 04 Oct 2023 08:58:57 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 3ba8f3f0d8 guix: meson-configuration: Fix boolean assigment.
3ba8f3f0d8 is described below

commit 3ba8f3f0d812cabcc11d3cbfb78abb69db7c577f
Author: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
AuthorDate: Fri Sep 29 11:16:19 2023 +0200

    guix: meson-configuration: Fix boolean assigment.
    
    * guix/build/meson-configuration.scm (write-assigment): Print true for
      #t and false for #f.  Previously it was inverting the values.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 guix/build/meson-configuration.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/build/meson-configuration.scm 
b/guix/build/meson-configuration.scm
index 1aac5f8f0a..5e194d4c2b 100644
--- a/guix/build/meson-configuration.scm
+++ b/guix/build/meson-configuration.scm
@@ -43,9 +43,9 @@ a boolean or an integer.  Lists are currently not supported"
      (format port "~a = '~a'~%" key value))
     ((? integer?)
      (format port "~a = ~a~%" key value))
-    (#f
-     (format port "~a = true~%" key))
     (#t
+     (format port "~a = true~%" key))
+    (#f
      (format port "~a = false~%" key))))
 
 (define* (write-assignments port alist)



reply via email to

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