profiles: Fix the gdk-pixbuf-loaders-cache-file hook.

'guix install' would otherwise fail with a wrong type argument whet attempting
to call the hook.

* guix/profiles.scm (gdk-pixbuf-loaders-cache-file) <file-append>: Replace
with...
<string-append>: ... this, as gdk-pixbuf has already been expanded to a string
at this point.
This commit is contained in:
Maxim Cournoyer 2021-11-25 14:27:46 -05:00
parent 8a8e491258
commit 0702bbe1f7
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1189,7 +1189,7 @@ (define gdk-pixbuf ;lazy reference
(mlet* %store-monad
((gdk-pixbuf (manifest-lookup-package manifest "gdk-pixbuf"))
(librsvg (manifest-lookup-package manifest "librsvg"))
(gdk-pixbuf-bin -> (file-append gdk-pixbuf "/bin")))
(gdk-pixbuf-bin -> (string-append gdk-pixbuf "/bin")))
(define build
(with-imported-modules (source-module-closure