gnu: imv: Use new package style.
* gnu/packages/image-viewers.scm (imv)[arguments]: Use G-expressions. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
19e4bb8da2
commit
1ec22406b2
1 changed files with 9 additions and 11 deletions
|
@ -762,17 +762,15 @@ displayed in a terminal.")
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list #:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'record-absolute-file-names
|
(add-after 'install 'record-absolute-file-names
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
;; 'imv' is a script that execs 'imv-x11' or 'imv-wayland'.
|
;; 'imv' is a script that execs 'imv-x11' or 'imv-wayland'.
|
||||||
;; Record their absolute file name.
|
;; Record their absolute file name.
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let ((bin (string-append #$output "/bin")))
|
||||||
(bin (string-append out "/bin")))
|
(substitute* (string-append bin "/imv")
|
||||||
(substitute* (string-append bin "/imv")
|
(("imv-") (string-append bin "/imv-")))))))))
|
||||||
(("imv-")
|
|
||||||
(string-append bin "/imv-")))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list asciidoc
|
(list asciidoc
|
||||||
pkg-config))
|
pkg-config))
|
||||||
|
|
Reference in a new issue