guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: sane-backends: Disable backend generation.


From: Ludovic Courtès
Subject: 01/04: gnu: sane-backends: Disable backend generation.
Date: Sat, 17 Dec 2016 22:13:51 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 33a14e29f9a19c9e4e76bbba73e21e22d4bab0b9
Author: Andy Patterson <address@hidden>
Date:   Wed Dec 14 00:03:23 2016 -0500

    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 <address@hidden>
---
 gnu/packages/scanner.scm |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
index 76817b3..01db5ee 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]