summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-18 15:22:07 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-18 15:22:48 +0000
commit4b8bc321e1ba48a7e270758cf36b9196097d31c4 (patch)
tree44c057f17ffd29d9928484d235fa8979e6382e1a
parentab22743ad45c62468983b5a76a50de8babf17e41 (diff)
downloadguix-4b8bc321e1ba48a7e270758cf36b9196097d31c4.tar.gz
gnu: python2-send2trash: Fix setenv build phase.
* gnu/packages/python-xyz.scm (python2-send2trash)[arguments]: Use
GUIX_PYTHONPATH instead of PYTHONPATH.
-rw-r--r--gnu/packages/python-xyz.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0a2875d628..5f99073d93 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20481,9 +20481,8 @@ user's @file{~/Trash} directory.")
           `(modify-phases ,phases
              (add-before 'check 'setenv
                (lambda _
-                 (setenv "PYTHONPATH"
-                         (string-append (getcwd) ":" (getenv "PYTHONPATH")))
-                 #t)))))))))
+                 (setenv "GUIX_PYTHONPATH"
+                         (string-append (getcwd) ":" (getenv "GUIX_PYTHONPATH"))))))))))))
 
 (define-public python-pyfavicon
   (package