guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 12/12: gnu: python-jupyter-kernel-test: Use PYTHON-VERSION.
Date: Sat, 12 Oct 2019 12:43:31 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 9f294736b247c55c65bb1a7053e1c98d9bfa161c
Author: Marius Bakke <address@hidden>
Date:   Sat Oct 12 18:37:29 2019 +0200

    gnu: python-jupyter-kernel-test: Use PYTHON-VERSION.
    
    * gnu/packages/jupyter.scm (python-jupyter-kernel-test)[arguments]: Use
    PYTHON-VERSION to determite Python version.
---
 gnu/packages/jupyter.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 7ec987b..fbb4367 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -118,9 +118,7 @@ launching and using Jupyter kernels.")
                   (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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]