tweak jupyterlab script

This commit is contained in:
Sean Buckley 2022-09-18 14:56:00 -04:00
parent c9c637e90d
commit e8a3d8a098

View file

@ -15,13 +15,10 @@ builtins.mapAttrs
program = toString (pkgs.writeShellScript n v); program = toString (pkgs.writeShellScript n v);
}) })
{ {
jupyterlab = jupyterlab = ''
let jupy=${pkgs.python3.withPackages (p: [ p.jupyterlab p.ipython ])}
jupy = pkgs.python3.withPackages (p: with p; [ jupyterlab ipython ]); exec $jupy/bin/python -m jupyterlab "$@"
in '';
''
exec ${jupy}/bin/python -m jupyterlab "$@"
'';
qemu-bios = '' qemu-bios = ''
exec ${qemu-opts} "$@" exec ${qemu-opts} "$@"