Add gcc to jupyter path

master
David Crompton 2024-01-17 17:20:04 -05:00
parent 6b290b11b4
commit f5d3abb2b3
1 changed files with 9 additions and 1 deletions

View File

@ -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