gnu: python-jupyter-kernel-test: Use PYTHON-VERSION.

* gnu/packages/jupyter.scm (python-jupyter-kernel-test)[arguments]: Use
PYTHON-VERSION to determite Python version.
This commit is contained in:
Marius Bakke 2019-10-12 18:37:29 +02:00
parent ff97c86295
commit 9f294736b2
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -118,9 +118,7 @@ (define-public python-jupyter-kernel-test
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(version ((@@ (guix build python-build-system)
get-python-version)
(assoc-ref inputs "python")))
(version (python-version (assoc-ref inputs "python")))
(pydir (string-append out "/lib/python"
version "/site-packages/"
"jupyter_kernel_test")))