gnu: deluge: Remove reference of build-time librsvg

* gnu/packages/bittorrent.scm (deluge): Do it.
This commit is contained in:
Josselin Poiret 2021-12-14 20:17:13 +01:00 committed by Brice Waegeneire
parent 711f0e683c
commit 1471219a8a
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -570,9 +570,19 @@ (define-public deluge
(("names='ngettext'") "names=['ngettext']")) (("names='ngettext'") "names=['ngettext']"))
#t)) #t))
(add-after 'install 'wrap (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")) (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 (for-each
(lambda (program) (lambda (program)
(wrap-program program (wrap-program program