gnu: global: Fix wrap phase.

* gnu/packages/code.scm (global)[arguments]: Wrap python script with
GUIX_PYTHONPATH.
This commit is contained in:
Efraim Flashner 2021-09-12 08:35:28 +03:00
parent 536c2ee167
commit 99a7bc993d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -181,7 +181,7 @@ (define-public global ; a global variable
(wrap-program
(string-append (assoc-ref outputs "out")
"/share/gtags/script/pygments_parser.py")
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))))
`("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))))))
(add-after 'install 'post-install
(lambda* (#:key outputs #:allow-other-keys)
;; Install the plugin files in the right place.