Data Science workgroup: Difference between revisions
imported>Costrouc Adding jupyterlab instructions with nix-shell |
imported>Ariutta Reference unmerged pull request |
||
Line 4: | Line 4: | ||
=== JupyterLab === | === JupyterLab === | ||
[https://github.com/NixOS/nixpkgs/pull/49807 Work was done (but not merged)] to easily deploy arbitrary kernels and jupyter extensions with nix. There are some limitations due to jupyterlab extensions relying heavily on npm and webpack to compile the javascript modules. Thus an unpure setup is easiest to get it working. The following `default.nix` shell will install 20 jupyerlab extension + 4 kernels (c, python, go, and ansible). All that needs to be edited by user is kernels, additionalExtensions, and buildInputs. The rest is automatic and will launch a jupyterlab instance for you. | |||
Work | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> |