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.
This commit is contained in:
Hartmut Goebel 2016-10-10 11:03:37 +02:00
parent eee5cd0440
commit a08a835034
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 2 additions and 5 deletions

View File

@ -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"