Infini-DL360/jupyter: add sage kernel
This commit is contained in:
parent
b28efc33ca
commit
e92f9e23b9
1 changed files with 13 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
common,
|
common,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -97,6 +98,18 @@ in
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
sage = {
|
||||||
|
displayName = "SageMath ${pkgs.sageWithDoc.version}";
|
||||||
|
language = "sage";
|
||||||
|
argv = [
|
||||||
|
(lib.getExe pkgs.sageWithDoc)
|
||||||
|
"--python"
|
||||||
|
"-m"
|
||||||
|
"sage.repl.ipython_kernel"
|
||||||
|
"-f"
|
||||||
|
"{connection_file}"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue