Add gcc to jupyter path
parent
6b290b11b4
commit
f5d3abb2b3
|
@ -7,7 +7,15 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
c.SystemdSpawner.mem_limit = '2G'
|
c.SystemdSpawner.mem_limit = '2G'
|
||||||
c.SystemdSpawner.cpu_limit = 1.0
|
c.SystemdSpawner.cpu_limit = 1.0
|
||||||
|
c.SystemdSpawner.extra_paths = ['${pkgs.buildEnv {
|
||||||
|
name = "jupyterhub-system-spawner-env";
|
||||||
|
paths = with pkgs; [
|
||||||
|
gcc
|
||||||
|
];
|
||||||
|
}}/bin']
|
||||||
'';
|
'';
|
||||||
|
# Extra Paths used to add gcc et al for packages like Brian2
|
||||||
|
# https://github.com/jupyterhub/systemdspawner#extra_paths
|
||||||
|
|
||||||
kernels = {
|
kernels = {
|
||||||
python3 = let
|
python3 = let
|
||||||
|
@ -67,7 +75,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.caddy.virtualHosts = {
|
services.caddy.virtualHosts = {
|
||||||
"jupyter.ws.kcnhub.com" = {
|
"jupyter.ws.kcnhub.com" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in New Issue