Subject: Re: [bug#67819] [PATCH v2] services: xorg: dbus-daemon-wrapper handle guix home
From: Ludovic Courtès <[email-masked]>
To: Feng Shu <[email-masked]>
Cc: [email-masked]
Date: Fri, 05 Jan 2024 17:19:33 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Feng Shu <[email-masked]> skribis:

>>From e4a5ee8fd8a71782fdc15a8177cd1474e3135d99 Mon Sep 17 00:00:00 2001
> From: Feng Shu <[email-masked]>
> Date: Thu, 14 Dec 2023 11:02:51 +0800
> Subject: [PATCH v2] services: xorg: dbus-daemon-wrapper handle guix home
>  directory.
>
> * gnu/services/xorg.scm (dbus-daemon-wrapper): Handle guix home directory.

Good idea.

>         (define profiles
>           (if user-profile
> -             (list user-profile system-profile)
> +             (if guix-home-profile
> +                 (list user-profile guix-home-profile system-profile)
> +                 (list user-profile system-profile))
>               (list system-profile)))

I tweaked for clarity:

       (define profiles
         (append (if home-profile
                     (list home-profile)
                     '())
                 (if user-profile
                     (list user-profile)
                     '())
                 (list system-profile)))

Applied, thanks!

Ludo’.