corps / nix-kernel

A Jupyter Notebook Kernel for nix-repl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nix-kernel

Simple jupyter wrapper for nix-repl! Does not yet support completion :'( But could in future.

Based upon https://github.com/takluyver/bash_kernel, modified for jupyter use case.

Installation

Using nix

Clone the repo, and nix-env -i -f .. This installs a nix-kernel executable. Then, you simply need to create a nix/kernel.json file containing an argv like ["nix-kernel", "-f", "{connection_file}"

Using setup tools

Simply install the setup.py file in the repo. A kernel will be installed into your environment.

About

A Jupyter Notebook Kernel for nix-repl

License:MIT License


Languages

Language:Python 91.3%Language:Nix 8.7%