mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
move jupyterlab variable
This commit is contained in:
parent
45bce4a081
commit
f1873221c7
1 changed files with 7 additions and 6 deletions
|
@ -40,16 +40,17 @@
|
|||
|
||||
apps = self.lib.forAllSystems (system:
|
||||
with nixpkgs.legacyPackages.${system};
|
||||
let
|
||||
jupy = python3.withPackages (p: with p; [ jupyterlab ipython ]);
|
||||
in
|
||||
{
|
||||
gnome-extensions = writeShellScriptBin "gnome-extensions" ''
|
||||
cat ${path}/pkgs/desktops/gnome/extensions/extensions.json |
|
||||
${jq}/bin/jq -c '.[]|{name,ver:(.shell_version_map|keys)}'
|
||||
'';
|
||||
|
||||
jupyterlab = writeShellScriptBin "jupyterlab" ''
|
||||
jupyterlab =
|
||||
let
|
||||
jupy = python3.withPackages (p: with p; [ jupyterlab ipython ]);
|
||||
in
|
||||
writeShellScriptBin "jupyterlab" ''
|
||||
exec ${jupy}/bin/python -m jupyterlab "$@"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue