[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: build/glib-or-gtk: Avoid duplicate entries in gdk-pixbuf loaders
From: |
guix-commits |
Subject: |
02/04: build/glib-or-gtk: Avoid duplicate entries in gdk-pixbuf loaders cache. |
Date: |
Fri, 14 Apr 2023 16:01:49 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 6de7e0e54c63a90ba57748b861e57b22252ed904
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Apr 13 13:22:18 2023 -0400
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.
---
guix/build/glib-or-gtk-build-system.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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))