diff options
author | Tom McLaughlin <tom@codedown.io> | 2023-07-25 01:22:45 -0700 |
---|---|---|
committer | thomasjm <tom@codedown.io> | 2023-09-08 00:20:14 -0700 |
commit | 0342a5194b62f5c5375dbae9f065cb33722dc466 (patch) | |
tree | f35af20e39020bd4dbd97f4ffb4006f91055f6fa /pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix | |
parent | be7925045aefcc3b87285f38e0d2ce955021e294 (diff) |
jupyter-console: expose as a tool for launching kernels
Diffstat (limited to 'pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix')
-rw-r--r-- | pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix b/pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix index 504d417688684..5acca288f9633 100644 --- a/pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix +++ b/pkgs/applications/editors/jupyter-kernels/clojupyter/default.nix @@ -8,8 +8,11 @@ , imagemagick }: -# To test: -# $(nix-build --no-out-link -E 'with import <nixpkgs> {}; jupyter.override { definitions = { clojure = clojupyter.definition; }; }')/bin/jupyter-notebook +# Jupyter console: +# nix run --impure --expr 'with import <nixpkgs> {}; jupyter-console.withSingleKernel clojupyter.definition' + +# Jupyter notebook: +# nix run --impure --expr 'with import <nixpkgs> {}; jupyter.override { definitions.clojure = clojupyter.definition; }' let cljdeps = import ./deps.nix { inherit pkgs; }; |