guix-commits
[Top][All Lists]
Advanced

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

10/163: gnu: solaar: Do not read PYTHONPATH from environment.


From: guix-commits
Subject: 10/163: gnu: solaar: Do not read PYTHONPATH from environment.
Date: Mon, 25 Jan 2021 02:01:16 -0500 (EST)

apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.

commit 34b7665068d94286d26e116b04e6f06610f6531c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 10:29:48 2021 -0500

    gnu: solaar: Do not read PYTHONPATH from environment.
    
    * gnu/packages/admin.scm (solaar)
    [phases]{setenv-PATH}: Do not read PYTHONPATH from environment.
---
 gnu/packages/admin.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 1b1b78c..78adb28 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -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.
 ;;;
@@ -3836,8 +3837,7 @@ support forum.  It runs with the @code{/exec} command in 
most IRC clients.")
        (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)))



reply via email to

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