From e8a3d8a098638e106da561018457997840f3f699 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sun, 18 Sep 2022 14:56:00 -0400 Subject: [PATCH] tweak jupyterlab script --- lib/apps.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/apps.nix b/lib/apps.nix index 94106d8..1d7c991 100644 --- a/lib/apps.nix +++ b/lib/apps.nix @@ -15,13 +15,10 @@ builtins.mapAttrs program = toString (pkgs.writeShellScript n v); }) { - jupyterlab = - let - jupy = pkgs.python3.withPackages (p: with p; [ jupyterlab ipython ]); - in - '' - exec ${jupy}/bin/python -m jupyterlab "$@" - ''; + jupyterlab = '' + jupy=${pkgs.python3.withPackages (p: [ p.jupyterlab p.ipython ])} + exec $jupy/bin/python -m jupyterlab "$@" + ''; qemu-bios = '' exec ${qemu-opts} "$@"