diff options
| author | Rutherther <rutherther@ditigal.xyz> | 2025-04-27 23:05:25 +0200 |
|---|---|---|
| committer | 宋文武 <iyzsong@member.fsf.org> | 2025-04-28 21:03:42 +0800 |
| commit | d47379b8dc6fb79bd9f06598ce567aec80194365 (patch) | |
| tree | dd041e73ccfcb63cd668acd6029f1739ab7c74c2 | |
| parent | 358f852b2654a68fa7a6c94a14e4ca5b4bcc9414 (diff) | |
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>
| -rw-r--r-- | guix/profiles.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm index 64d669c353..568cfa7e0c 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -1379,6 +1379,9 @@ icon theme. It's used by GTK applications to speedup icons loading." (srfi srfi-26) (ice-9 ftw)) + ;; Ensure output is still produced when no cache files are created. + (mkdir-p #$output) + (let* ((destdir (string-append #$output "/share/icons")) (icondirs (filter file-exists? (map (cut string-append <> "/share/icons") |
