From abad22dd4a3083498263cc5d6817dd7c01df4da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 2 Dec 2019 11:14:09 +0100 Subject: [PATCH] gnu: gajim: Avoid top-level reference to 'python'. This fixes a circular dependency due to this top-level reference to 'python' as discussed in . * 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 67a39ab602..cee9d3e215 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -643,7 +643,12 @@ (define-public gajim (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)