From 33a14e29f9a19c9e4e76bbba73e21e22d4bab0b9 Mon Sep 17 00:00:00 2001 From: Andy Patterson Date: Wed, 14 Dec 2016 00:03:23 -0500 Subject: gnu: sane-backends: Disable backend generation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/scanner.scm (sane-backends)[arguments]: Add a phase to disable the compilation of backends. Signed-off-by: Ludovic Courtès --- gnu/packages/scanner.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm index 76817b389f..01db5ee210 100644 --- a/gnu/packages/scanner.scm +++ b/gnu/packages/scanner.scm @@ -47,6 +47,10 @@ `(#:tests? #f #:phases (modify-phases %standard-phases + (add-before 'configure 'disable-backends + (lambda _ + (setenv "BACKENDS" " ") + #t)) (add-after 'install 'install-udev-rules (lambda* (#:key outputs #:allow-other-keys) -- cgit 1.4.1