mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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 <ludo@gnu.org>
This commit is contained in:
parent
fe7b59c6b1
commit
d75540473f
1 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
|
||||
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
|
||||
;;; Copyright © 2019 Brett Gilio <brettg@posteo.net>
|
||||
;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -185,11 +186,13 @@ (define-public bitlbee
|
|||
(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)))
|
||||
|
|
Loading…
Reference in a new issue