guix-commits
[Top][All Lists]
Advanced

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

48/104: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.


From: Hartmut Goebel
Subject: 48/104: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.
Date: Tue, 15 Nov 2016 21:37:03 +0000 (UTC)

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

commit a08a8350343145b18301ba0926787c0e28ee24fc
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 835b8fc..a06878d 100644
--- a/gnu/packages/dav.scm
+++ b/gnu/packages/dav.scm
@@ -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"



reply via email to

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