mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: xsane: Fix cross-compilation.
* gnu/packages/scanner.scm (xsane)[arguments]: Use SEARCH-INPUT-FILE. Change-Id: I4c4423cf1808f5934d97fd20bf25ac074d5617b2
This commit is contained in:
parent
e12c377ed1
commit
c650983457
1 changed files with 2 additions and 2 deletions
|
@ -421,9 +421,9 @@ (define-public xsane
|
|||
(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")))
|
||||
|
|
Loading…
Reference in a new issue