Evie Litherland-Smith
5230b3c635
Setup flake for easily making a JupyterLab instance with access to a given kernel
21 lines
339 B
Nix
21 lines
339 B
Nix
{
|
|
pkgs,
|
|
kernel,
|
|
python ? pkgs.python3,
|
|
}:
|
|
pkgs.mkShellNoCC {
|
|
nativeBuildInputs = [
|
|
(python.withPackages (ps:
|
|
with ps; [
|
|
jupyterlab
|
|
jupyterlab-git
|
|
nbdime
|
|
nbconvert
|
|
(ps.callPackage ./catppuccin_jupyterlab {})
|
|
]))
|
|
];
|
|
shellHook = ''
|
|
export JUPYTER_PATH=${kernel}
|
|
'';
|
|
}
|