-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xeus-cling: init at 0.15.3 #244777
xeus-cling: init at 0.15.3 #244777
Conversation
Hi @tjni, I was wondering if you might be willing to review this? |
pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix
Outdated
Show resolved
Hide resolved
@thomasjm
|
No, I just rebased on I added a commit to accomplish this, but I'm not sure if this is how it's normally done. |
nixpkgs-review pr 244777
git worktree add /home/guangtao/.cache/nixpkgs-review/pr-244777-1/nixpkgs aba8303[15/19940]
Preparing worktree (detached HEAD aba8303)
Updating files: 100% (38022/38022), done.
HEAD is now at aba8303 Merge pull request #267782 from kirillrdy/ruby_3_3
$ nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f --nix-path nixpkgs=/home
/guangtao/.cache/nixpkgs-review/pr-244777-1/nixpkgs nixpkgs-overlays=/run/user/1000/tmplv9p4bk0 -qaP --xml --out-path --sh
ow-trace --no-allow-import-from-derivation
$ git merge --no-commit --no-ff 86262c024073fba280bcb377edc47f6c4bdbb288
Automatic merge went well; stopped before committing as requested
$ nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f --nix-path nixpkgs=/home
/guangtao/.cache/nixpkgs-review/pr-244777-1/nixpkgs nixpkgs-overlays=/run/user/1000/tmplv9p4bk0 -qaP --xml --out-path --sh
ow-trace --no-allow-import-from-derivation --meta
1 package added:
xeus-cling (init at 0.15.3)
$ nix build --nix-path nixpkgs=/home/guangtao/.cache/nixpkgs-review/pr-244777-1/nixpkgs nixpkgs-overlays=/run/user/1000/tm Link to currently reviewing PR: 1 package built: $ /nix/store/vxx4c6gc2zgfw870b40f06dmli6ljp34-nix-2.17.0/bin/nix-shell /home/guangtao/.cache/nixpkgs-review/pr-244777-1/sh @thomasjm, Could you reset your changes to one commit? thanks |
Done |
Pinging @teto here as well, this should be ready to merge! |
@natsukium ready to merge, thanks |
@@ -17579,6 +17579,10 @@ with pkgs; | |||
jre = jre8; | |||
}; | |||
|
|||
inherit (callPackage ../applications/editors/jupyter-kernels/xeus-cling { }) | |||
cpp11-kernel cpp14-kernel cpp17-kernel cpp2a-kernel; | |||
xeus-cling = callPackage ../applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am annoyed to see those kernels at the top-level still since we dont make much of it without jupyter. Would it make sense to have the kernels in a package set like luaPackages/pythonPackages -> jupyterKernels = { xeus-cling , coq_kernel, ihaskell ... }. Is that on your roadmap. What do you think ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I did argue just now against exposing kernels at the top-level :)
It's definitely on my roadmap. I could either do it in this PR or a subsequent one. Maybe a subsequent one would be cleaner? But I'm up for whatever you prefer.
no release since then ? |
I once waited 33 months for the maintainers to land a 10-line change :) |
Description of changes
The Jupyter kernel for C++ based on Cling.
This is a draft until I can get #247253 and #245340 merged, and then it will be ready to go.There are currently 2 patches included with this PR. One has already been merged upstream and the other is in progress, so hopefully we'll have a new release soon incorporating both and then we can remove the patches.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)