diff options
author | Adrian Kummerlaender | 2020-06-03 20:32:10 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2020-06-03 20:32:10 +0200 |
commit | a4a84f87350ff36b1c9508e79583f3cc64909f3b (patch) | |
tree | 501cb7184b586a8b593e02420a70bf2a80182ba4 /tasks | |
parent | b11624d35da6219ce769b3e41c9ee33599603c97 (diff) | |
download | nixos_home-a4a84f87350ff36b1c9508e79583f3cc64909f3b.tar nixos_home-a4a84f87350ff36b1c9508e79583f3cc64909f3b.tar.gz nixos_home-a4a84f87350ff36b1c9508e79583f3cc64909f3b.tar.bz2 nixos_home-a4a84f87350ff36b1c9508e79583f3cc64909f3b.tar.lz nixos_home-a4a84f87350ff36b1c9508e79583f3cc64909f3b.tar.xz nixos_home-a4a84f87350ff36b1c9508e79583f3cc64909f3b.tar.zst nixos_home-a4a84f87350ff36b1c9508e79583f3cc64909f3b.zip |
Explicitly depend on env for Jupyter tasks
This way the Jupyter environment is built during home instantiation and
not only when actually calling the launcher script. This solves various
GC and network availability related issues for this task type.
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/default.nix b/tasks/default.nix index 124f1cc..b3c0a1a 100644 --- a/tasks/default.nix +++ b/tasks/default.nix @@ -32,9 +32,9 @@ let rev = "7a6716f0c0a5538691a2f71a9f12b066bce7d55c"; }) {}; - mkJupyterEnv = kernel: (jupyter.jupyterlabWith { + mkJupyterEnv = kernel: jupyter.jupyterlabWith { kernels = [ kernel ]; - }).env; + }; in { custom.tasks = { |