summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-12-02 11:14:09 +0100
committerLudovic Courtès <ludo@gnu.org>2019-12-02 11:14:09 +0100
commitabad22dd4a3083498263cc5d6817dd7c01df4da1 (patch)
tree9b34bb46c529cd1f608ade3a32b5957947485a95
parent66977719a6999284647ab9cad4755a1dc4c90386 (diff)
downloadguix-abad22dd4a3083498263cc5d6817dd7c01df4da1.tar.gz
gnu: gajim: Avoid top-level reference to 'python'.
This fixes a circular dependency due to this top-level reference to
'python' as discussed in <https://bugs.gnu.org/38326>.

* gnu/packages/messaging.scm (gajim)[native-search-paths]: Remove
reference to 'python'.  Hard-code the Python version instead.
-rw-r--r--gnu/packages/messaging.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 67a39ab602..cee9d3e215 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -643,7 +643,12 @@ else [])"))
             (variable "PYTHONPATH")
             (files (list (string-append
                           "lib/python"
-                          (version-major+minor (package-version python))
+
+                          ;; FIXME: Cannot use this expression as it would
+                          ;; introduce a circular dependency at the top level.
+                          ;; (version-major+minor (package-version python))
+                          "3.7"
+
                           "/site-packages"))))))
     (native-inputs
      `(("intltool" ,intltool)