aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-05-02 14:04:27 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-02 15:14:41 +0200
commit6075d25143bd92f8ffa3d60b1216c4e063d3137e (patch)
tree304ae9e8258a0905d7f7e3e9dcc9654d823760af /gnu/services
parentb1dd32d8e3e668dd1a229dfa059c40c282f78b9f (diff)
downloadguix-6075d25143bd92f8ffa3d60b1216c4e063d3137e.tar
guix-6075d25143bd92f8ffa3d60b1216c4e063d3137e.tar.gz
services: bitlbee: Preserve 'PURPLE_PLUGIN_PATH'.
Fixes a regression introduced in 211fe3f66e6dfdaa64974931c458ab1d92afc182 whereby, in inetd mode, and when using 'bitlbee-purple', libpurple plugins would not be found. * gnu/services/messaging.scm (bitlbee-shepherd-service): Pass #:preserved-environment-variables to 'least-authority-wrapper'.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/messaging.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index 05bf6e784b..f9e7e2aa09 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -828,6 +828,8 @@ string, you could instantiate a prosody service like this:
(bitlbee* (least-authority-wrapper
(file-append bitlbee "/sbin/bitlbee")
#:name "bitlbee"
+ #:preserved-environment-variables
+ '("PURPLE_PLUGIN_PATH")
#:mappings (list (file-system-mapping
(source "/var/lib/bitlbee")
(target source)