Ludovic Courtès transcribed 0.4K bytes:
> Hello Guix!
> 
> With commit 1bb895eabf74a1e571887eb1521915e668a5c28d, service types can
> declare a default value for their instances.  After this one can write:
> 
>   (service openssh-service-type)
> 
> instead of:
> 
>   (service openssh-service-type (openssh-configuration))
> 
> A bit of typing saved!
> 
> Note that this changes breaks the ABI for services, so make sure to run
> “make clean-go && make”.
> 
> Feedback welcome!
> 
> Ludo’.
> 

Before I lock myself out, this is the definition for defaults.
So:
 (service openssh-service-type
          (openssh-configuration
            (port-number 12121)))

becomes:
  (service openssh-service-type
          (port-number 12121))

or is this just a definition for defaults and not the configuration, and
when the configuration is specified it is still like before this commit?
-- 
PGP and more: https://people.pragmatique.xyz/ng0/

Reply via email to