summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-03-18 16:00:08 +0100
committerLudovic Courtès <ludo@gnu.org>2022-03-18 16:03:34 +0100
commitcd6d3a877150fabe8080d6f3a00ec2c667912c5f (patch)
tree9813b5cb607a2e64e9624dba9e82b9e208d9ccb2
parentbc6490a85f9eecd9f42df18ea0f1c7f55dc2c744 (diff)
downloadguix-cd6d3a877150fabe8080d6f3a00ec2c667912c5f.tar.gz
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.
-rw-r--r--gnu/packages/messaging.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index f78719575a..411a4790b2 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -700,6 +700,13 @@ identi.ca and status.net).")
     (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)