mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
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>
10 lines
299 B
Nix
10 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
|
|
''
|