Infini-DL360/jupyter: fix breaking nixpkgs change
This commit is contained in:
parent
97edda6a5d
commit
3c10e8111d
1 changed files with 16 additions and 19 deletions
|
@ -10,24 +10,6 @@ let
|
||||||
logo64 = "${env}/${env.sitePackages}/ipykernel/resources/logo-64x64.png";
|
logo64 = "${env}/${env.sitePackages}/ipykernel/resources/logo-64x64.png";
|
||||||
};
|
};
|
||||||
|
|
||||||
jupyterEnv = pkgs.python3.withPackages (p: with p; [
|
|
||||||
jupyterlab
|
|
||||||
|
|
||||||
# extensions
|
|
||||||
jupyterlab-lsp
|
|
||||||
jupyterlab-myst
|
|
||||||
jupyterlab-pygments
|
|
||||||
jupyterlab-vim
|
|
||||||
|
|
||||||
# export
|
|
||||||
nbconvert
|
|
||||||
nbformat
|
|
||||||
|
|
||||||
# lsp
|
|
||||||
python-lsp-server
|
|
||||||
python-lsp-ruff
|
|
||||||
]);
|
|
||||||
|
|
||||||
jupyterPath = with pkgs; [
|
jupyterPath = with pkgs; [
|
||||||
# export
|
# export
|
||||||
pandoc
|
pandoc
|
||||||
|
@ -49,7 +31,22 @@ in
|
||||||
{
|
{
|
||||||
services.jupyter = {
|
services.jupyter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = jupyterEnv;
|
package = pkgs.python3.pkgs.jupyterlab;
|
||||||
|
extraPackages = with pkgs.python3.pkgs; [
|
||||||
|
# extensions
|
||||||
|
jupyterlab-lsp
|
||||||
|
jupyterlab-myst
|
||||||
|
jupyterlab-pygments
|
||||||
|
jupyterlab-vim
|
||||||
|
|
||||||
|
# export
|
||||||
|
nbconvert
|
||||||
|
nbformat
|
||||||
|
|
||||||
|
# lsp
|
||||||
|
python-lsp-server
|
||||||
|
python-lsp-ruff
|
||||||
|
];
|
||||||
|
|
||||||
# Hosted behind Tailscale, so security doesn't matter
|
# Hosted behind Tailscale, so security doesn't matter
|
||||||
command = "jupyter-lab --ServerApp.token='' --ServerApp.password=''";
|
command = "jupyter-lab --ServerApp.token='' --ServerApp.password=''";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue