move jupyterlab variable

This commit is contained in:
Sean Buckley 2021-11-05 14:04:19 -04:00
parent 45bce4a081
commit f1873221c7

View file

@ -40,18 +40,19 @@
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" ''
exec ${jupy}/bin/python -m jupyterlab "$@"
'';
jupyterlab =
let
jupy = python3.withPackages (p: with p; [ jupyterlab ipython ]);
in
writeShellScriptBin "jupyterlab" ''
exec ${jupy}/bin/python -m jupyterlab "$@"
'';
}
);
};