guix-commits
[Top][All Lists]
Advanced

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

59/71: gnu: gedit: Enable Python Console plugin.


From: ???
Subject: 59/71: gnu: gedit: Enable Python Console plugin.
Date: Mon, 02 May 2016 14:08:22 +0000

iyzsong pushed a commit to branch gnome-updates
in repository guix.

commit afc25242a1a195fe197c626b8e4860e17a42cabd
Author: 宋文武 <address@hidden>
Date:   Fri Apr 29 10:37:53 2016 +0800

    gnu: gedit: Enable Python Console plugin.
    
    * gnu/packages/gnome.scm (gedit)[arguments]: Wrap with PYTHONPATH.
---
 gnu/packages/gnome.scm |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 24708e3..f54fd29 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3944,9 +3944,12 @@ javascript engine and the GObject introspection 
framework.")
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (let ((out               (assoc-ref outputs "out"))
                   (gtksourceview     (assoc-ref inputs "gtksourceview"))
-                  (gi-typelib-path   (getenv "GI_TYPELIB_PATH")))
+                  (gi-typelib-path   (getenv "GI_TYPELIB_PATH"))
+                  (python-path       (getenv "PYTHONPATH")))
               (wrap-program (string-append out "/bin/gedit")
+                ;; For plugins.
                 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
+                `("PYTHONPATH" ":" prefix (,python-path))
                 ;; For language-specs.
                 `("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
                                                               "/share")))))



reply via email to

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