add jupyterlab app

This commit is contained in:
Sean Buckley 2021-08-05 15:58:27 -04:00
parent 65a9c2bace
commit 8cecf8d1dc

View file

@ -48,10 +48,15 @@
with nixpkgs.legacyPackages.${system};
let
binScript = x: writeShellScriptBin "script" "exec ${x}";
jupy = python3.withPackages (p: with p; [ jupyterlab ipython ]);
in
{
luks-mirror = binScript ./misc/luks-mirror.sh;
luks-single = binScript ./misc/luks-single.sh;
jupyterlab = writeShellScriptBin "jupyterlab" ''
exec ${jupy}/bin/python -m jupyterlab "$@"
'';
}
);
};