GNU bug report logs - #54203
[PATCH] home: xdg: Fix xdg-desktop-entry config field serialization.

Previous Next

Package: guix-patches;

Reported by: Andrew Tropin <andrew <at> trop.in>

Date: Tue, 1 Mar 2022 05:10: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: Andrew Tropin <andrew <at> trop.in>
To: 54203 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>, Xinglu Chen <public <at> yoctocell.xyz>
Subject: [bug#54203] [PATCH] home: xdg: Fix xdg-desktop-entry config field serialization.
Date: Tue, 1 Mar 2022 08:04:27 +0300
[Message part 1 (text/plain, inline)]
* gnu/home/services/xdg.scm (serialize-xdg-desktop-entry): Use append instead
of identity to allow multiple alist values.
---
 gnu/home/services/xdg.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/home/services/xdg.scm b/gnu/home/services/xdg.scm
index 9c43aa93b9..361a2a6148 100644
--- a/gnu/home/services/xdg.scm
+++ b/gnu/home/services/xdg.scm
@@ -374,7 +374,7 @@ (define (format-config key val)
             "=" val "\n")))
 
   (define (serialize-alist config)
-    (generic-serialize-alist identity format-config config))
+    (generic-serialize-alist append format-config config))
 
   (define (serialize-xdg-desktop-action action)
     (match action
-- 
2.34.0

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 167 days ago.

Previous Next


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