htgoebel pushed a commit to branch wip-python-build-system in repository guix.
commit 229fb47d642b57d9d5ebcb94fd8e17a84bdbbff3 Author: Hartmut Goebel <[email protected]> Date: Mon Oct 10 11:03:37 2016 +0200 gnu: vdirsyncer: Fix build by setting correct PYTHONPATH. For thus, use add-installed-pythonpath. * gnu/packages/dav.scm (vdirsyncer): set PYTHONPATH using add-installed-pythonpath. --- gnu/packages/dav.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index be6c40f..d011112 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -65,11 +65,8 @@ clients.") ;; vdirsyncer requires itself to be installed in order to build ;; the manpage. (add-after 'install 'manpage - (lambda* (#:key outputs #:allow-other-keys) - (setenv "PYTHONPATH" - (string-append - (getenv "PYTHONPATH") - ":" (assoc-ref outputs "out"))) + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath outputs inputs) (zero? (system* "make" "--directory=docs/" "man")) (install-file "docs/_build/man/vdirsyncer.1"
