guix-commits
[Top][All Lists]
Advanced

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

128/131: gnu: ceph: Streamline use of PYTHONPATH.


From: guix-commits
Subject: 128/131: gnu: ceph: Streamline use of PYTHONPATH.
Date: Fri, 29 Jan 2021 09:22:22 -0500 (EST)

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

commit 633ea643a9ce42680dd58a93a3b19962e1c7b04b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jan 27 23:46:06 2021 -0500

    gnu: ceph: Streamline use of PYTHONPATH.
    
    * gnu/packages/storage.scm (ceph)
    [phases]{set-install-environment}: Just add what's needed to PYTHONPATH.
---
 gnu/packages/storage.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gnu/packages/storage.scm b/gnu/packages/storage.scm
index 978ecd5..4c2fa21 100644
--- a/gnu/packages/storage.scm
+++ b/gnu/packages/storage.scm
@@ -168,10 +168,7 @@
                                     "/site-packages")))
                ;; The Python install scripts refuses to function if
                ;; the install directory is not on PYTHONPATH.
-               (setenv "PYTHONPATH"
-                       (string-append py3sitedir ":"
-                                      (getenv "GUIX_PYTHONPATH")))
-               #t)))
+               (setenv "PYTHONPATH" py3sitedir))))
          (add-after 'install 'wrap-python-scripts
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))



reply via email to

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