summaryrefslogtreecommitdiff
path: root/guix/build/glib-or-gtk-build-system.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-13 13:22:18 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-14 15:35:36 -0400
commit6de7e0e54c63a90ba57748b861e57b22252ed904 (patch)
tree6c1afd0a79cc0a66b518f6e0410729327b553758 /guix/build/glib-or-gtk-build-system.scm
parente6604e4b434076e080450c472d88f18057968bb5 (diff)
build/glib-or-gtk: Avoid duplicate entries in gdk-pixbuf loaders cache.
* guix/build/glib-or-gtk-build-system.scm (generate-gdk-pixbuf-loaders-cache): Delete duplicate directories passed as input.
Diffstat (limited to 'guix/build/glib-or-gtk-build-system.scm')
-rw-r--r--guix/build/glib-or-gtk-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/glib-or-gtk-build-system.scm b/guix/build/glib-or-gtk-build-system.scm
index 475a94ae4f..67a52ddad3 100644
--- a/guix/build/glib-or-gtk-build-system.scm
+++ b/guix/build/glib-or-gtk-build-system.scm
@@ -213,7 +213,7 @@ variable. The cache file is installed under OUTPUTS. Return the first cache
file name if one was created else #f."
(let* ((loaders (append-map
(cut find-files <> "^libpixbufloader-.*\\.so$")
- directories))
+ (delete-duplicates directories)))
(outputs* (map (cut string-append <> "/"
%gdk-pixbuf-loaders-cache-file)
outputs))