summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorAndy Patterson <ajpatter@uwaterloo.ca>2016-12-14 00:03:23 -0500
committerLudovic Courtès <ludo@gnu.org>2016-12-17 23:13:04 +0100
commit33a14e29f9a19c9e4e76bbba73e21e22d4bab0b9 (patch)
tree37a76a0ca9170f10db59d10523fcb146ffd3d70b /gnu
parent9b1d77f6d4e939188be4556cda0cddadc1ff4b88 (diff)
downloadguix-33a14e29f9a19c9e4e76bbba73e21e22d4bab0b9.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/scanner.scm4
1 files changed, 4 insertions, 0 deletions
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)