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:
		
							parent
							
								
									e6604e4b43
								
							
						
					
					
						commit
						6de7e0e54c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -213,7 +213,7 @@ variable.  The cache file is installed under OUTPUTS.  Return the first cache
 | 
				
			||||||
file name if one was created else #f."
 | 
					file name if one was created else #f."
 | 
				
			||||||
  (let* ((loaders (append-map
 | 
					  (let* ((loaders (append-map
 | 
				
			||||||
                   (cut find-files <> "^libpixbufloader-.*\\.so$")
 | 
					                   (cut find-files <> "^libpixbufloader-.*\\.so$")
 | 
				
			||||||
                   directories))
 | 
					                   (delete-duplicates directories)))
 | 
				
			||||||
         (outputs* (map (cut string-append <> "/"
 | 
					         (outputs* (map (cut string-append <> "/"
 | 
				
			||||||
                             %gdk-pixbuf-loaders-cache-file)
 | 
					                             %gdk-pixbuf-loaders-cache-file)
 | 
				
			||||||
                        outputs))
 | 
					                        outputs))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue