From 8cecf8d1dcc0c609640cc389162a7aa99efe10b9 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Thu, 5 Aug 2021 15:58:27 -0400 Subject: [PATCH] add jupyterlab app --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 40f66d2..95a0cd7 100644 --- a/flake.nix +++ b/flake.nix @@ -48,10 +48,15 @@ with nixpkgs.legacyPackages.${system}; let binScript = x: writeShellScriptBin "script" "exec ${x}"; + jupy = python3.withPackages (p: with p; [ jupyterlab ipython ]); in { luks-mirror = binScript ./misc/luks-mirror.sh; luks-single = binScript ./misc/luks-single.sh; + + jupyterlab = writeShellScriptBin "jupyterlab" '' + exec ${jupy}/bin/python -m jupyterlab "$@" + ''; } ); };