guix-commits
[Top][All Lists]
Advanced

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

47/155: gnu: sane-backends: Disable backend generation.


From: John Darrington
Subject: 47/155: gnu: sane-backends: Disable backend generation.
Date: Wed, 21 Dec 2016 20:48:32 +0000 (UTC)

jmd pushed a commit to branch wip-installer
in repository guix.

commit 938e221586d0d4d9d9ab71359696ac6b4c581eb8
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]