~ruther/guix-local

3221207417fa48d0b954520450980812932b804c — Hartmut Goebel 9 years ago 632735f
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.
1 files changed, 3 insertions(+), 4 deletions(-)

M gnu/packages/calendar.scm
M gnu/packages/calendar.scm => gnu/packages/calendar.scm +3 -4
@@ 96,10 96,9 @@ data units.")
     `(#:phases (modify-phases %standard-phases
        ;; Building the manpage requires khal to be installed.
        (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)
            ;; Make installed package available for running the tests
            (add-installed-pythonpath inputs outputs)
            (zero? (system* "make" "--directory=doc/" "man"))
            (install-file
              "doc/build/man/khal.1"