gnu: gedit: Enable Python Console plugin.
* gnu/packages/gnome.scm (gedit)[arguments]: Wrap with PYTHONPATH.
This commit is contained in:
parent
2ed6522ac3
commit
afc25242a1
|
@ -3944,9 +3944,12 @@ javascript engine and the GObject introspection framework.")
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(gtksourceview (assoc-ref inputs "gtksourceview"))
|
(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")
|
(wrap-program (string-append out "/bin/gedit")
|
||||||
|
;; For plugins.
|
||||||
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
|
||||||
|
`("PYTHONPATH" ":" prefix (,python-path))
|
||||||
;; For language-specs.
|
;; For language-specs.
|
||||||
`("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
|
`("XDG_DATA_DIRS" ":" prefix (,(string-append gtksourceview
|
||||||
"/share")))))
|
"/share")))))
|
||||||
|
|
Loading…
Reference in New Issue