mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 12:17:10 -05:00
profiles: Also handle package objects in GDK-PIXBUF-LOADERS-CACHE-FILE.
* guix/profiles.scm (gdk-pixbuf-loaders-cache-file): Handle both a string or a package object for GDK-PIXBUF, as these are the two types that can be returned by MANIFEST-LOOKUP-PACKAGE. Suggested-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
138498feec
commit
71b309169d
1 changed files with 3 additions and 1 deletions
|
@ -1189,7 +1189,9 @@ (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 -> (string-append gdk-pixbuf "/bin")))
|
||||
(gdk-pixbuf-bin -> (if (string? gdk-pixbuf)
|
||||
(string-append gdk-pixbuf "/bin")
|
||||
(file-append gdk-pixbuf "/bin"))))
|
||||
|
||||
(define build
|
||||
(with-imported-modules (source-module-closure
|
||||
|
|
Loading…
Reference in a new issue