mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: imv: Record absolute file name of 'imv' script.
* gnu/packages/image-viewers.scm (imv)[arguments]: Fix the 'imv-dir' script in the 'record-absolute-file-names' phase. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
1ec22406b2
commit
ce28d14a9c
1 changed files with 4 additions and 2 deletions
|
@ -767,10 +767,12 @@ (define-public imv
|
|||
(add-after 'install 'record-absolute-file-names
|
||||
(lambda _
|
||||
;; 'imv' is a script that execs 'imv-x11' or 'imv-wayland'.
|
||||
;; Record their absolute file name.
|
||||
;; 'imv-dir' execs 'imv'. Record their absolute file names.
|
||||
(let ((bin (string-append #$output "/bin")))
|
||||
(substitute* (string-append bin "/imv")
|
||||
(("imv-") (string-append bin "/imv-")))))))))
|
||||
(("imv-") (string-append bin "/imv-")))
|
||||
(substitute* (string-append bin "/imv-dir")
|
||||
(("imv") (string-append bin "/imv")))))))))
|
||||
(native-inputs
|
||||
(list asciidoc
|
||||
pkg-config))
|
||||
|
|
Loading…
Reference in a new issue