guix-commits
[Top][All Lists]
Advanced

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

03/07: gnu: bitlbee: Use Python 3.


From: guix-commits
Subject: 03/07: gnu: bitlbee: Use Python 3.
Date: Wed, 4 Dec 2019 12:16:19 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit d75540473f3f460007f45efab5122c39aa4130ff
Author: Timotej Lazar <address@hidden>
Date:   Thu Nov 28 19:16:41 2019 +0100

    gnu: bitlbee: Use Python 3.
    
    * gnu/packages/messaging.scm (bitlbee)[inputs]: Replace python-2 with 
python.
    [arguments]: Set the PYTHON environment variable before configuring.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/messaging.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 73c7620..27d2b76 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2018 Pierre-Antoine Rouby <address@hidden>
 ;;; Copyright © 2019 Tanguy Le Carrour <address@hidden>
 ;;; Copyright © 2019 Brett Gilio <address@hidden>
+;;; Copyright © 2019 Timotej Lazar <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -185,11 +186,13 @@ end-to-end encryption.")
     (inputs `(("glib" ,glib)
               ("libotr" ,libotr)
               ("gnutls" ,gnutls)
-              ("python" ,python-2)
+              ("python" ,python)
               ("perl" ,perl)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'set-python
+           (lambda _ (setenv "PYTHON" (which "python3")) #t))
          (add-after 'install 'install-etc
            (lambda* (#:key (make-flags '()) #:allow-other-keys)
              (apply invoke "make" "install-etc" make-flags)))



reply via email to

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