summary refs log tree commit diff
path: root/gnu/packages/image-viewers.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-14 10:27:46 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-14 10:27:46 +0300
commit858bb37a1daf276ac272aee0109eb4c17d8a2d23 (patch)
tree3eb2b7e4a1dfb94d8090af66612256c3eded0bc0 /gnu/packages/image-viewers.scm
parentd67a3beb522f62720bbcaa1edbdab35514b9509e (diff)
downloadguix-858bb37a1daf276ac272aee0109eb4c17d8a2d23.tar.gz
gnu: sxiv: Install icons.
* gnu/packages/image-viewers.scm (sxiv)[arguments]: Add custom phase to
install icons.
Diffstat (limited to 'gnu/packages/image-viewers.scm')
-rw-r--r--gnu/packages/image-viewers.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 1889be3c42..2f78458a06 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -218,7 +218,10 @@ It is the default image viewer on LXDE desktop environment.")
              (install-file "sxiv.desktop"
                            (string-append (assoc-ref outputs "out")
                                           "/share/applications"))
-             #t)))))
+             #t))
+         (add-after 'install 'install-icons
+           (lambda* (#:key make-flags #:allow-other-keys)
+             (apply invoke "make" "-C" "icon" "install" make-flags))))))
     (inputs
      `(("freetype" ,freetype)
        ("giflib" ,giflib)