mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Replace PYTHONPATH with GUIX_PYTHONPATH.
In packages that do not use python-build-system, PYTHONPATH is generally not defined. Instead we can use GUIX_PYTHONPATH which should contain all Python dependencies. * gnu/packages/bioinformatics.scm (shorah)[arguments]: Replace PYTHONPATH with GUIX_PYTHONPATH. * gnu/packages/debug.scm (c-vise)[arguments]: Idem. * gnu/packages/gnome.scm (drawing, apostrophe, ocrfeeder)[arguments]: Idem. * gnu/packages/music.scm (a2jmidid)[arguments]: Idem. * gnu/packages/syndication.scm (gfeeds)[arguments]: Idem. * gnu/packages/xdisorg.scm (gammastep)[arguments]: Idem. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
722c17992e
commit
93bf42361c
6 changed files with 13 additions and 8 deletions
|
@ -7,6 +7,7 @@
|
|||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
|
||||
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -213,7 +214,7 @@ tools that process C/C++ code.")
|
|||
(add-after 'install 'wrap
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(python-path (getenv "PYTHONPATH")))
|
||||
(python-path (getenv "GUIX_PYTHONPATH")))
|
||||
(wrap-program (string-append out "/bin/cvise")
|
||||
`("PYTHONPATH" ":" prefix (,python-path)))
|
||||
#t))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue