civodul pushed a commit to branch master
in repository guix.

commit abad22dd4a3083498263cc5d6817dd7c01df4da1
Author: Ludovic Courtès <[email protected]>
Date:   Mon Dec 2 11:14:09 2019 +0100

    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.
---
 gnu/packages/messaging.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 67a39ab..cee9d3e 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)

Reply via email to