mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02:00
build-system/python: Export 'python-version'.
* guix/build/python-build-system.scm (get-python-version): Rename to... (python-version): ... this. Update callers. Make public. * gnu/packages/gstreamer.scm (python-gst)[arguments]: Adjust accordingly. * gnu/packages/machine-learning.scm (ghmm)[arguments]: Likewise. * gnu/packages/openldap.scm (389-ds-base)[arguments]: Import (guix build python-build-system). Use 'python-version'. * gnu/packages/package-management.scm (conda)[arguments]: Use 'python-version'.
This commit is contained in:
parent
1dcca83afb
commit
9c2563a80b
5 changed files with 14 additions and 20 deletions
|
@ -210,8 +210,7 @@ classification.")
|
|||
(assoc-ref %standard-phases 'check))
|
||||
(add-before 'check 'fix-PYTHONPATH
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((python-version ((@@ (guix build python-build-system)
|
||||
get-python-version)
|
||||
(let ((python-version (python-version
|
||||
(assoc-ref inputs "python"))))
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append (getenv "PYTHONPATH")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue