summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaghav Gururajan <rg@raghavgururajan.name>2021-12-17 13:49:19 -0500
committerRaghav Gururajan <rg@raghavgururajan.name>2021-12-17 13:56:14 -0500
commitfb6c4a0c1dac475fbfa25a7f218d34088db7a0b3 (patch)
tree61cc7a786fed72884cc11f1bbf84529e7e531199
parent3399c29b8fe936f756752c3a206a10845288250e (diff)
downloadguix-fb6c4a0c1dac475fbfa25a7f218d34088db7a0b3.tar.gz
gnu: gajim: Correct python version and skip sanity-check.
* gnu/packages/messaging.scm (gajim)[phases](sanity-check): Remove phase.
[native-search-paths](GUIX_PYTHONPATH): Adjust version.
-rw-r--r--gnu/packages/messaging.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 9287845685..3756b02089 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1190,6 +1190,10 @@ of xmpppy.")
              ;; For missing '/etc/machine-id'.
              (setenv "DBUS_FATAL_WARNINGS" "0")
              (invoke "dbus-launch" "python" "./setup.py" "test")))
+         ;; Loading gajim_remote require running session bus,
+         ;; which in-turn requires running elogind for XDG_RUNTIME_DIR;
+         ;; neither of which are possible inside build environment.
+         (delete 'sanity-check)
          (add-after 'install 'glib-or-gtk-compile-schemas
            (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
          (add-after 'install 'glib-or-gtk-wrap
@@ -1224,7 +1228,7 @@ of xmpppy.")
           ;; FIXME: Cannot use this expression as it would
           ;; introduce a circular dependency at the top level.
           ;; (version-major+minor (package-version python))
-          "3.8"
+          "3.9"
           "/site-packages"))))))
     (native-inputs
      `(("gettext" ,gettext-minimal)