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:
parent
eee5cd0440
commit
a08a835034
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue