Hi,
Efraim Flashner <efraim@flashner.co.il> skribis:
Toggle quote (2 lines)
> On Fri, Apr 17, 2020 at 11:00:49PM +0200, Ludovic Courtès wrote:
[...]
Toggle quote (14 lines)
>> > --- a/gnu/services/sddm.scm>> > +++ b/gnu/services/sddm.scm>> > @@ -171,6 +171,7 @@ Relogin=" (if (sddm-configuration-relogin? config)>> > (documentation "SDDM display manager.")>> > (requirement '(user-processes))>> > (provision '(display-manager))>> > + (conflicts-with '(xorg-server))>> >> ‘conflicts-with’ doesn’t exist, right? :-)>> >> I haven't tried it out for Guix services, but it exists for shepherd> services, according to the manual¹
Right, it’s not available in Guix <shepherd-service>.
However, simplify adding ‘xorg-server’ to ‘provision’ should have thedesired effect: ‘guix system’ errors out if more than one serviceprovides the same symbol.
Toggle quote (8 lines)
>> But yes, I think (provision '(xorg-server display-manager)) would be>> fine.>> >> Or we can even drop ‘display-manager’ since it’s not used anywhere else.>> Normally I'd be skeptical about dropping it since people might expect it> if they're using sddm, but it'd probably be fine.
Yeah, maybe it’s safer to keep it.
Thanks,Ludo’.