aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/image-viewers.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 02e25aee5f..1879b9949c 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -767,10 +767,12 @@ displayed in a terminal.")
(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))