From a08a8350343145b18301ba0926787c0e28ee24fc Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Mon, 10 Oct 2016 11:03:37 +0200 Subject: 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(-) (limited to 'gnu/packages/dav.scm') diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 835b8fcf39..a06878dc92 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -73,11 +73,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 inputs outputs) (zero? (system* "make" "--directory=docs/" "man")) (install-file "docs/_build/man/vdirsyncer.1" -- cgit 1.4.1