mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add jupyterlab app
This commit is contained in:
parent
65a9c2bace
commit
8cecf8d1dc
1 changed files with 5 additions and 0 deletions
|
@ -48,10 +48,15 @@
|
||||||
with nixpkgs.legacyPackages.${system};
|
with nixpkgs.legacyPackages.${system};
|
||||||
let
|
let
|
||||||
binScript = x: writeShellScriptBin "script" "exec ${x}";
|
binScript = x: writeShellScriptBin "script" "exec ${x}";
|
||||||
|
jupy = python3.withPackages (p: with p; [ jupyterlab ipython ]);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
luks-mirror = binScript ./misc/luks-mirror.sh;
|
luks-mirror = binScript ./misc/luks-mirror.sh;
|
||||||
luks-single = binScript ./misc/luks-single.sh;
|
luks-single = binScript ./misc/luks-single.sh;
|
||||||
|
|
||||||
|
jupyterlab = writeShellScriptBin "jupyterlab" ''
|
||||||
|
exec ${jupy}/bin/python -m jupyterlab "$@"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue