me
/
guix
Archived
1
0
Fork 0

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.
master
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 ;; vdirsyncer requires itself to be installed in order to build
;; the manpage. ;; the manpage.
(add-after 'install 'manpage (add-after 'install 'manpage
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(setenv "PYTHONPATH" (add-installed-pythonpath inputs outputs)
(string-append
(getenv "PYTHONPATH")
":" (assoc-ref outputs "out")))
(zero? (system* "make" "--directory=docs/" "man")) (zero? (system* "make" "--directory=docs/" "man"))
(install-file (install-file
"docs/_build/man/vdirsyncer.1" "docs/_build/man/vdirsyncer.1"