guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: gajim: Avoid top-level reference to 'python'.


From: guix-commits
Subject: 01/06: gnu: gajim: Avoid top-level reference to 'python'.
Date: Mon, 2 Dec 2019 06:25:37 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit abad22dd4a3083498263cc5d6817dd7c01df4da1
Author: Ludovic Court├Ęs <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]