guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

49/97: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.


From: Hartmut Goebel
Subject: 49/97: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.
Date: Tue, 18 Oct 2016 20:13:19 +0000 (UTC)

htgoebel pushed a commit to branch wip-python-build-system
in repository guix.

commit c893ae681c601c2e917747943ef2634fcab06f8c
Author: Hartmut Goebel <address@hidden>
Date:   Mon Oct 10 11:03:37 2016 +0200

    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.
---
 gnu/packages/dav.scm |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index be6c40f..d011112 100644
--- a/gnu/packages/dav.scm
+++ b/gnu/packages/dav.scm
@@ -65,11 +65,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 outputs inputs)
              (zero? (system* "make" "--directory=docs/" "man"))
              (install-file
                "docs/_build/man/vdirsyncer.1"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]