guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: fixup! profiles: Add a gdk-pixbuf-loaders-cache-file hook.


From: guix-commits
Subject: 01/03: fixup! profiles: Add a gdk-pixbuf-loaders-cache-file hook.
Date: Tue, 19 Oct 2021 08:22:40 -0400 (EDT)

apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.

commit 39988f755ea51164a06aa48b36efffe9aef82141
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Oct 18 22:02:09 2021 -0400

    fixup! profiles: Add a gdk-pixbuf-loaders-cache-file hook.
---
 guix/profiles.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/guix/profiles.scm b/guix/profiles.scm
index 83f589c..bdc0d52 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -1169,14 +1169,13 @@ loaders discovered in MANIFEST."
 
   (mlet %store-monad ((%gdk-pixbuf (manifest-lookup-package
                                     manifest "gdk-pixbuf"))
-                      (gdk-pixbuf-query-loaders
-                       -> (file-append gdk-pixbuf
-                                       "/bin/gdk-pixbuf-query-loaders")))
+                      (gdk-pixbuf-bin -> (file-append gdk-pixbuf "/bin")))
     (define build
       (with-imported-modules (source-module-closure
                               '((guix build glib-or-gtk-build-system)))
         #~(begin
             (use-modules (guix build glib-or-gtk-build-system))
+            (setenv "PATH" (string-append #$gdk-pixbuf-bin ":" (getenv 
"PATH")))
             (generate-gdk-pixbuf-loaders-cache '#$(manifest-inputs manifest)
                                                (list #$output)))))
     (if %gdk-pixbuf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]