gnu: manuskript: Wrap with GUIX_PYTHONPATH.

* gnu/packages/text-editors.scm (manuskript):
[phases]{install}: Replace PYTHONPATH with GUIX_PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-27 23:45:06 -05:00
parent ef302ba9c3
commit cf264b404c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -650,7 +650,8 @@ (define-public manuskript
(let ((bin (string-append out "/bin")) (let ((bin (string-append out "/bin"))
(executable (string-append share "/bin/manuskript"))) (executable (string-append share "/bin/manuskript")))
(wrap-program executable (wrap-program executable
(list "PYTHONPATH" 'prefix (list (getenv "GUIX_PYTHONPATH")))) (list "GUIX_PYTHONPATH" 'prefix
(list (getenv "GUIX_PYTHONPATH"))))
(mkdir-p bin) (mkdir-p bin)
(with-directory-excursion bin (with-directory-excursion bin
(symlink (string-append share "/bin/manuskript") (symlink (string-append share "/bin/manuskript")