gnu: bitlbee-purple: Add search path for "PURPLE_PLUGIN_PATH".

Suggested by Maxime Devos.

* gnu/packages/messaging.scm (bitlbee-purple)[native-search-paths]: New field.
This commit is contained in:
Ludovic Courtès 2022-03-18 16:00:08 +01:00
parent bc6490a85f
commit cd6d3a8771
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -700,6 +700,13 @@ (define-public bitlbee-purple
(synopsis "IRC to instant messaging gateway (using Pidgin's libpurple)")
(inputs `(("purple" ,pidgin)
,@(package-inputs bitlbee)))
(native-search-paths
(list (search-path-specification
(variable "PURPLE_PLUGIN_PATH")
;; XXX: Should be (version-major (package-version pidgin)) but
;; can't due to circular references.
(files (list (string-append "lib/purple-2")
"lib/pidgin")))))
(arguments
(substitute-keyword-arguments (package-arguments bitlbee)
((#:phases phases '%standard-phases)