55a070a616
Also, add a script 'wolfram-notebook' to easily start a jupyter notebook for working with the Wolfram Engine. Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
9 lines
299 B
Nix
9 lines
299 B
Nix
{ lib, stdenv, writeScriptBin, jupyter, wolfram-for-jupyter-kernel }:
|
|
|
|
let
|
|
wolfram-jupyter = jupyter.override { definitions = { wolfram = wolfram-for-jupyter-kernel.definition; }; };
|
|
in
|
|
writeScriptBin "wolfram-notebook" ''
|
|
#! ${stdenv.shell}
|
|
${wolfram-jupyter}/bin/jupyter-notebook
|
|
''
|