gnu: solaar: Do not read PYTHONPATH from environment.

* gnu/packages/admin.scm (solaar)
[phases]{setenv-PATH}: Do not read PYTHONPATH from environment.
This commit is contained in:
Maxim Cournoyer 2021-01-22 10:29:48 -05:00
parent 6f54af26ce
commit 0a3226e8fc
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -35,6 +35,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -3832,8 +3833,7 @@ (define-public solaar
(modify-phases %standard-phases
(add-before 'build 'setenv-PATH
(lambda _
(setenv "PYTHONPATH" (string-append "lib:" (getenv "PYTHONPATH")))
#t)))))
(setenv "PYTHONPATH" "lib"))))))
(propagated-inputs
`(("python-pygobject" ,python-pygobject)
("python-pyudev" ,python-pyudev)))