Subject: bug#41391: sane-service-type does not support extra scanner backends?

From: Pierre Neidhardt <[email-masked]>
Date: Tue, 19 May 2020 08:20:52 +0200

sane-service-type seems to only support the minimal backends package:

--8<---------------cut here---------------start------------->8---
(define sane-service-type
  (service-type
   (name 'sane)
   (description
    "This service provides access to scanners @i{via}
@uref{http://www.sane-project.org, SANE} by installing the necessary udev
rules.")
   (default-value sane-backends-minimal)
   (extensions
    (list (service-extension udev-service-type list)
          (service-extension account-service-type
                             (const %sane-accounts))))))
--8<---------------cut here---------------end--------------->8---

The value of the service is a single package, not a list of packages.
So how does one add support for other scanner?

I believe another reason why our current sane service would not work for
extra backends is because we need to populate etc/sane.d/dll.conf with the
new backends.  Or maybe etc/sane.d/dll.d/.  To be confirmed.

-- 
Pierre Neidhardt
https://ambrevar.xyz/