diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-01-24 09:50:54 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-02-01 11:53:56 -0500 |
commit | 11786ee75283a009553aa81c27b6b98ffa27b782 (patch) | |
tree | ce59fff684fb0b8cef7a9b539ef5023096fd7880 /gnu/packages | |
parent | fb6fcbec2d9f95ced615b480412686ed296b84eb (diff) | |
download | guix-patches-11786ee75283a009553aa81c27b6b98ffa27b782.tar guix-patches-11786ee75283a009553aa81c27b6b98ffa27b782.tar.gz |
gnu: python-binwalk: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-binwalk)
[phases]{set-pythonpath}: Rename to...
{set-home}: ... here. Do not set PYTHONPATH. Delete trailing #t.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-xyz.scm | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 204b7ae736..9181e14790 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13708,14 +13708,9 @@ binary or text.") (arguments `(#:phases (modify-phases %standard-phases - (add-before 'check 'set-pythonpath + (add-before 'check 'set-home (lambda _ - (setenv "PYTHONPATH" - (string-append - (getcwd) "/src/" - ":" (getenv "PYTHONPATH"))) - (setenv "HOME" "") - #t))))) + (setenv "HOME" "")))))) (native-inputs `(("python-coverage" ,python-coverage) ("python-nose" ,python-nose))) |