nix-jupyter/jupyter.nix
Evie Litherland-Smith 5230b3c635 Initial commit
Setup flake for easily making a JupyterLab instance with access to a
given kernel
2024-04-23 15:02:35 +01:00

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}
'';
}