mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: deluge: Remove reference of build-time librsvg
* gnu/packages/bittorrent.scm (deluge): Do it.
This commit is contained in:
parent
711f0e683c
commit
1471219a8a
1 changed files with 12 additions and 2 deletions
|
@ -570,9 +570,19 @@ (define-public deluge
|
|||
(("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
|
||||
|
|
Loading…
Reference in a new issue