diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/jupyter-kernels/octave')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/jupyter-kernels/octave/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/applications/editors/jupyter-kernels/octave/default.nix b/nixpkgs/pkgs/applications/editors/jupyter-kernels/octave/default.nix index a9770a5c1bef..88bc1b2803bb 100644 --- a/nixpkgs/pkgs/applications/editors/jupyter-kernels/octave/default.nix +++ b/nixpkgs/pkgs/applications/editors/jupyter-kernels/octave/default.nix @@ -7,8 +7,11 @@ , python3 }: -# To test: -# $(nix-build -E 'with import <nixpkgs> {}; jupyter.override { definitions = { octave = octave-kernel.definition; }; }')/bin/jupyter-notebook +# Jupyter console: +# nix run --impure --expr 'with import <nixpkgs> {}; jupyter-console.withSingleKernel octave-kernel.definition' + +# Jupyter notebook: +# nix run --impure --expr 'with import <nixpkgs> {}; jupyter.override { definitions.octave = octave-kernel.definition; }' let kernel = callPackage ./kernel.nix { |