~ruther/guix-local

a08a8350343145b18301ba0926787c0e28ee24fc — Hartmut Goebel 9 years ago eee5cd0
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.
1 files changed, 2 insertions(+), 5 deletions(-)

M gnu/packages/dav.scm
M gnu/packages/dav.scm => gnu/packages/dav.scm +2 -5
@@ 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"