gnu: sane-backends: Disable backend generation.

* gnu/packages/scanner.scm (sane-backends)[arguments]: Add a phase to
disable the compilation of backends.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Andy Patterson 2016-12-14 00:03:23 -05:00 committed by Ludovic Courtès
parent 9b1d77f6d4
commit 33a14e29f9
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -47,6 +47,10 @@
`(#:tests? #f `(#:tests? #f
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'disable-backends
(lambda _
(setenv "BACKENDS" " ")
#t))
(add-after (add-after
'install 'install-udev-rules 'install 'install-udev-rules
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)