gnu: khal: Fix build.
The old one was plain wrong and only worked by luck since the old python build system did manipulate PYTHONPATH. * gnu/packages/calendar.scm(khal)[phase manpage]: Use add-installed-pythonpath.
This commit is contained in:
parent
632735f215
commit
3221207417
1 changed files with 3 additions and 4 deletions
|
|
@ -96,10 +96,9 @@ data units.")
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
;; Building the manpage requires khal to be installed.
|
;; Building the manpage requires khal to be installed.
|
||||||
(add-after 'install 'manpage
|
(add-after 'install 'manpage
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(setenv "PYTHONPATH"
|
;; Make installed package available for running the tests
|
||||||
(string-append
|
(add-installed-pythonpath inputs outputs)
|
||||||
(getenv "PYTHONPATH") ":" (assoc-ref outputs "out")))
|
|
||||||
(zero? (system* "make" "--directory=doc/" "man"))
|
(zero? (system* "make" "--directory=doc/" "man"))
|
||||||
(install-file
|
(install-file
|
||||||
"doc/build/man/khal.1"
|
"doc/build/man/khal.1"
|
||||||
|
|
|
||||||
Reference in a new issue