mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
profiles: gtk-icon-themes: Fix build error for when there are no icon themes.
* guix/profiles.scm (gtk-icon-themes): Always create the output directory. Change-Id: I2aa5ab0023c9c584182c67f79102fb66b46a3a7d Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
358f852b26
commit
d47379b8dc
1 changed files with 3 additions and 0 deletions
|
@ -1379,6 +1379,9 @@ icon theme. It's used by GTK applications to speedup icons loading."
|
||||||
(srfi srfi-26)
|
(srfi srfi-26)
|
||||||
(ice-9 ftw))
|
(ice-9 ftw))
|
||||||
|
|
||||||
|
;; Ensure output is still produced when no cache files are created.
|
||||||
|
(mkdir-p #$output)
|
||||||
|
|
||||||
(let* ((destdir (string-append #$output "/share/icons"))
|
(let* ((destdir (string-append #$output "/share/icons"))
|
||||||
(icondirs (filter file-exists?
|
(icondirs (filter file-exists?
|
||||||
(map (cut string-append <> "/share/icons")
|
(map (cut string-append <> "/share/icons")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue