From 40990fc494728e6557ff5817b3b59e776d50e2e8 Mon Sep 17 00:00:00 2001 From: thomasjm Date: Tue, 30 Jun 2026 15:19:53 -0700 Subject: [PATCH] jupyter-kernels: update comments to use working commands --- .../applications/editors/jupyter-kernels/clojupyter/default.nix | 2 +- pkgs/applications/editors/jupyter-kernels/octave/default.nix | 2 +- pkgs/applications/editors/jupyter-kernels/wolfram/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix b/pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix index ee081737e355..af56ba9147eb 100644 --- a/pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix +++ b/pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix @@ -13,7 +13,7 @@ # nix run --impure --expr 'with import {}; jupyter-console.withSingleKernel clojupyter.definition' # Jupyter notebook: -# nix run --impure --expr 'with import {}; jupyter.override { definitions.clojure = clojupyter.definition; }' +# nix shell --impure --expr 'with import {}; [ (jupyter.override { definitions.clojure = clojupyter.definition; }) ]' -c jupyter-notebook let cljdeps = import ./deps.nix { inherit pkgs; }; diff --git a/pkgs/applications/editors/jupyter-kernels/octave/default.nix b/pkgs/applications/editors/jupyter-kernels/octave/default.nix index 74ea3d9b60f5..f4b9202b8109 100644 --- a/pkgs/applications/editors/jupyter-kernels/octave/default.nix +++ b/pkgs/applications/editors/jupyter-kernels/octave/default.nix @@ -12,7 +12,7 @@ # nix run --impure --expr 'with import {}; jupyter-console.withSingleKernel octave-kernel.definition' # Jupyter notebook: -# nix run --impure --expr 'with import {}; jupyter.override { definitions.octave = octave-kernel.definition; }' +# nix shell --impure --expr 'with import {}; [ (jupyter.override { definitions.octave = octave-kernel.definition; }) ]' -c jupyter-notebook let kernel = callPackage ./kernel.nix { diff --git a/pkgs/applications/editors/jupyter-kernels/wolfram/default.nix b/pkgs/applications/editors/jupyter-kernels/wolfram/default.nix index 92ffdcb38e8a..89efbb9d041e 100644 --- a/pkgs/applications/editors/jupyter-kernels/wolfram/default.nix +++ b/pkgs/applications/editors/jupyter-kernels/wolfram/default.nix @@ -7,7 +7,7 @@ # nix run --impure --expr 'with import {}; jupyter-console.withSingleKernel wolfram-for-jupyter-kernel.definition' # Jupyter notebook: -# nix run --impure --expr 'with import {}; jupyter.override { definitions.wolfram = wolfram-for-jupyter-kernel.definition; }' +# nix shell --impure --expr 'with import {}; [ (jupyter.override { definitions.wolfram = wolfram-for-jupyter-kernel.definition; }) ]' -c jupyter-notebook let kernel = callPackage ./kernel.nix { };