4 Jan 2024 |
| @admin:nixos.org set the history visibility to "world_readable". | 23:48:10 |
| @admin:nixos.org set the room name to "Nix Jupyter". | 23:48:10 |
| @admin:nixos.org invited NixOS Moderation Bot. | 23:48:27 |
| @admin:nixos.org invited teto. | 23:48:28 |
| @admin:nixos.orgchanged room power levels. | 23:48:33 |
| @admin:nixos.orgchanged room power levels. | 23:48:36 |
| Room Avatar Renderer. | 23:49:05 |
| NixOS Moderation Bot joined the room. | 23:49:30 |
| @admin:nixos.orgchanged room power levels. | 23:49:40 |
5 Jan 2024 |
| teto joined the room. | 00:24:09 |
| teto invited thomasjm (Tom McLaughlin). | 00:24:29 |
| teto invited natsukium. | 00:24:37 |
| @admin:nixos.org left the room. | 00:24:40 |
| teto invited guangtao. | 00:26:13 |
| teto set the room topic to "Goal is to discuss and document nix code to run multikernel jupyter frontends". | 00:27:06 |
| guangtao joined the room. | 00:32:30 |
| SomeoneSerge (utc+3) joined the room. | 02:26:48 |
| [0x4A6F] joined the room. | 12:46:59 |
6 Jan 2024 |
| @thomasjm:matrix.org joined the room. | 01:04:05 |
@thomasjm:matrix.org | hi all! maybe we can start here by continuing the conversation from https://github.com/NixOS/nixpkgs/pull/278315 ? | 01:06:21 |
| natsukium joined the room. | 01:52:05 |
natsukium | I don't have an opinion on PR yet, but as far as teto is concerned, I feel that the existing unfamiliar structure and terminology is a burden. | 05:51:31 |
guangtao | how about
{
jupyterLib.mkKernels = {
python = {
# the env should be a individual python env
env = pkgs.python3.withPackages [ ];
# if env == {}, then env = pkgs.python3.withPackages [ ] ++ [python.pkgs.ipykernel];
withPackages = [];
override = {
...
};
};
haskell = {
# env = pkgs.haskellPackages.ghcWithPackages (p: with p; [ ihaskell ]);
# if env == {}, then env = pkgs.haskellPackages.ghcWithPackages (p: with p; [ ihaskell ]) ++ ghcWithPackages p);
ghcWithPackages = p: [ p.ihaskell ];
override = {
display_name = "Custom Haskell";
};
};
...
};
}
| 06:21:04 |
guangtao | "It's particularly important to ensure that the env (env = (python3.withPackages (ps: with ps; [ ipykernel ]));) can be overridden, and actually, it should be easy to integrate with other 3rdSupport (poetry2nix, dream2nix, etc.) | 06:24:09 |