Commit cd1017fd authored by ROUBY Pierre-Antoine's avatar ROUBY Pierre-Antoine
Browse files

guix-kernel: Find subkernel path from kernel path.

* src/guix-jupyter-kernel.scm (subkernel-path): New variable.
  (start-sub-kernel): Use 'subkernel-path'.
parent 55f57c4d
......@@ -119,6 +119,10 @@
(define sub-context (zmq-create-context))
(define subkernel-path
(string-replace (current-filename) "guix-jupyter-subkernel.scm"
(+ (string-rindex (current-filename) #\/) 1)))
(define (register-subkernel vhash name values)
(vhash-cons name values vhash))
......@@ -309,7 +313,7 @@
(execle (guile-current-version-path)
"guile" "--no-auto-compile" "-s"
name notebook-info-key))
(define (start-kernel pid)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment