diff --git a/flake.nix b/flake.nix index 1f88b6f..defcbdf 100644 --- a/flake.nix +++ b/flake.nix @@ -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 "$@" + ''; } ); };