mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
tweak jupyterlab script
This commit is contained in:
parent
c9c637e90d
commit
e8a3d8a098
1 changed files with 4 additions and 7 deletions
11
lib/apps.nix
11
lib/apps.nix
|
@ -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} "$@"
|
||||||
|
|
Loading…
Reference in a new issue