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.
This commit is contained in:
Maxim Cournoyer 2023-04-13 13:22:18 -04:00
parent e6604e4b43
commit 6de7e0e54c
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 1 deletions

View File

@ -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))