~ruther/guix-local

c65098345739ccaccb293a5d7976fecc6b3d7beb — Tobias Geerinckx-Rice 1 year, 9 months ago e12c377
gnu: xsane: Fix cross-compilation.

* gnu/packages/scanner.scm (xsane)[arguments]: Use SEARCH-INPUT-FILE.

Change-Id: I4c4423cf1808f5934d97fd20bf25ac074d5617b2
1 files changed, 2 insertions(+), 2 deletions(-)

M gnu/packages/scanner.scm
M gnu/packages/scanner.scm => gnu/packages/scanner.scm +2 -2
@@ 421,9 421,9 @@ provided the driver also exposes the buttons.")
              (substitute* "src/xsane-save.c"
                (("png_ptr->jmpbuf") "png_jmpbuf(png_ptr)"))))
          (add-after 'unpack 'use-sane-help-browser
            (lambda _
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "src/xsane.h"
                (("netscape") (which "xdg-open")))))
                (("netscape") (search-input-file inputs "bin/xdg-open")))))
          (add-after 'install 'delete-empty-/sbin
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))