gnu: shorah: Use GUIX_PYTHONPATH in wrapper.

* gnu/packages/bioinformatics.scm (shorah)[arguments]: Wrap executable with
GUIX_PYTHONPATH.
This commit is contained in:
Ricardo Wurmus 2021-11-18 19:22:58 +00:00
parent 2691864533
commit dddc90a363
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -8275,7 +8275,7 @@ data. It also generates basic statistics for your sequences.")
(pythonpath (getenv "GUIX_PYTHONPATH"))
(script (string-append out "/bin/shorah")))
(chmod script #o555)
(wrap-program script `("PYTHONPATH" ":" prefix (,site ,pythonpath))))))
(wrap-program script `("GUIX_PYTHONPATH" ":" prefix (,site ,pythonpath))))))
(add-after 'wrap-programs 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?