sane-service-type does not support extra scanner backends?

  • Open
  • quality assurance status badge
Details
One participant
  • Pierre Neidhardt
Owner
unassigned
Submitted by
Pierre Neidhardt
Severity
normal
P
P
Pierre Neidhardt wrote on 19 May 2020 08:20
(address . bug-guix@gnu.org)
87y2poigxn.fsf@ambrevar.xyz
sane-service-type seems to only support the minimal backends package:

Toggle snippet (14 lines)
(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))))))

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
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7DesQACgkQm9z0l6S7
zH9pXQf+O3AwfQAMBS0P7thC6IoF32R0IDRGzYbHpXiQ/B0klyQOK8HwKGZqIxtB
d03Iw+nD632aCMhlgCpTaunACwbx76ZIJjY6nmQDtuywwEOd1+Ac2TAmWO8MHZWd
Pk9j6Yed3ckRPEG5GDz2Crav8TkYrz1rUbA19aBe2mf4hCQYsNcmfUwmBDTexKMF
QBgaaVHPRxVqrYYiihcRDMcxab0YRSuVKj7dSeN1lYTL5JRB6mHJ1wCwFeDly2wu
69MxabHfsXClbNMKM+rPg5jxrp2ZmjjjN6AfXvBSi0RMbgQb+H0NWYAK2igawfPu
d3skSCk2gDSrUAhnWSOeklqepozXCA==
=mrg4
-----END PGP SIGNATURE-----

?