guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: deluge: Remove reference of build-time librsvg


From: guix-commits
Subject: 02/02: gnu: deluge: Remove reference of build-time librsvg
Date: Sun, 16 Jan 2022 05:49:44 -0500 (EST)

bricewge pushed a commit to branch master
in repository guix.

commit 1471219a8aabd2d8ad1f6bf1216c734ce73ae175
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Tue Dec 14 20:17:13 2021 +0100

    gnu: deluge: Remove reference of build-time librsvg
    
    * gnu/packages/bittorrent.scm (deluge): Do it.
---
 gnu/packages/bittorrent.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index d23e93be34..eac66713ea 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -570,9 +570,19 @@ features.")
                (("names='ngettext'") "names=['ngettext']"))
              #t))
          (add-after 'install 'wrap
-           (lambda* (#:key outputs #:allow-other-keys)
+           (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
              (let ((out               (assoc-ref outputs "out"))
-                   (gi-typelib-path   (getenv "GI_TYPELIB_PATH")))
+                   (gi-typelib-path
+                    (string-join (filter
+                                  (lambda (x) (not (string-prefix?
+                                                    (assoc-ref
+                                                     (or native-inputs inputs)
+                                                     "librsvg")
+                                                    x)))
+                                  (string-split
+                                   (getenv "GI_TYPELIB_PATH")
+                                   #\:))
+                                 ":")))
                (for-each
                 (lambda (program)
                   (wrap-program program



reply via email to

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