gnu: imv: Use new package style.
* gnu/packages/image-viewers.scm (imv)[arguments]: Use G-expressions. Signed-off-by: Leo Famulari <leo@famulari.name>master
parent
19e4bb8da2
commit
1ec22406b2
|
@ -762,17 +762,15 @@ displayed in a terminal.")
|
|||
(file-name (git-file-name name version))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(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'.
|
||||
;; Record their absolute file name.
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin")))
|
||||
(let ((bin (string-append #$output "/bin")))
|
||||
(substitute* (string-append bin "/imv")
|
||||
(("imv-")
|
||||
(string-append bin "/imv-")))))))))
|
||||
(("imv-") (string-append bin "/imv-")))))))))
|
||||
(native-inputs
|
||||
(list asciidoc
|
||||
pkg-config))
|
||||
|
|
Reference in New Issue