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: Mon, 1 Feb 2021 11:57:08 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit bc17fadbb63e6eec9759a224af4c515a3a175875
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]