Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 18 lines 311 B view raw
1{ 2 stdenv, 3 writeScriptBin, 4 jupyter, 5 wolfram-for-jupyter-kernel, 6}: 7 8let 9 wolfram-jupyter = jupyter.override { 10 definitions = { 11 wolfram = wolfram-for-jupyter-kernel.definition; 12 }; 13 }; 14in 15writeScriptBin "wolfram-notebook" '' 16 #! ${stdenv.shell} 17 ${wolfram-jupyter}/bin/jupyter-notebook 18''