From bc17fadbb63e6eec9759a224af4c515a3a175875 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 27 Jan 2021 23:46:06 -0500 Subject: [PATCH] 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 978ecd5b5e..4c2fa21a78 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"))