!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

270 Members
57 Servers

Load older messages


SenderMessageTime
19 Jan 2022
@baughn:brage.infoBaughn joined the room.20:33:36
27 Jan 2022
@jon.reeve:matrix.orgJonathan Reeve joined the room.20:35:07
@jon.reeve:matrix.orgJonathan ReeveHi everyone! Has anyone managed to get JupyterWith working with a flake.nix system config? 20:36:49
@jon.reeve:matrix.orgJonathan Reeve

Here's what I've tried:

{
  description = "My NixOS configuration.";
  inputs = {
 
    nixos.url = "nixpkgs/nixos-unstable";
    jupyterWith.url = "github:tweag/jupyterWith";
  
  };
  outputs = { self, nixos,  jupyterWith}: {
     nixosConfigurations.jon-laptop = nixos.lib.nixosSystem {
       system = "x86_64-linux";
       modules = [ ./configuration.nix
                   jupyterWith.jupyterlabWith { kernels = [
                                                  (jupyterWith.kernels.iPythonWith {
                                                    name = "python";
                                                    packages = p: with p; [ pandas ];
                                                  })
                                                  (jupyterWith.kernels.iRWith {
                                                    name = "R";
                                                    packages = p: with p; [ ggplot2 ];
                                                  })
                                                ]; }
               
                   }
                 ];
     };
  };
}
20:38:11
@jon.reeve:matrix.orgJonathan ReeveBut I have a feeling I'm doing something wrong there. 20:38:21
@jon.reeve:matrix.orgJonathan Reeve *

Here's what I've tried:

{
  description = "My NixOS configuration.";
  inputs = {
    nixos.url = "nixpkgs/nixos-unstable";
    jupyterWith.url = "github:tweag/jupyterWith";
  };
  outputs = { self, nixos,  jupyterWith}: {
     nixosConfigurations.jon-laptop = nixos.lib.nixosSystem {
       system = "x86_64-linux";
       modules = [ ./configuration.nix
                   jupyterWith.jupyterlabWith { kernels = [
                                              (jupyterWith.kernels.iPythonWith {
                                                    name = "python";
                                                    packages = p: with p; [ pandas ];
                                                  })
                                                  (jupyterWith.kernels.iRWith {
                                                    name = "R";
                                                    packages = p: with p; [ ggplot2 ];
                                                  })
                                                ]; }
               
                   }
                 ];
     };
  };
}
20:38:37
@jon.reeve:matrix.orgJonathan Reeve

Since the error I'm getting is:

error: attribute 'jupyterlabWith' missing

       at /nix/store/8k2f8i93457v7rmfh2pdvsk0qw922laz-source/dotfiles/flake.nix:19:20:

           18|        modules = [ ./configuration.nix
           19|                    jupyterWith.jupyterlabWith { kernels = [
             |                    ^
           20|                                                   (jupyterWith.kernels.iPythonWith {
(use '--show-trace' to show detailed location information)

20:39:09
@jb:vk3.wtfjbedo

not a jupyter user, but the flake seems to output jupyterEnvironment not jupyterlabWith:

❯ nix search github:tweag/jupyterWith
* packages.x86_64-linux.jupyterEnvironment (3.2.3)
  Jupyter lab environment notebook server extension.
20:43:28
@jb:vk3.wtfjbedo looks like it's in overlays, try changing jupyterWith.jupyterLabWith to jupyterWith.overlays.jupyterLabWith 20:55:50
@jon.reeve:matrix.orgJonathan ReeveCool I'll give it a shot, thanks21:01:05
13 Feb 2022
@kwabratseur:matrix.orgJeroen joined the room.11:40:39
14 Feb 2022
@test:boba.bestTseb (Old) changed their display name from Tseb to Tseb (Old).12:53:01
18 Feb 2022
@test:boba.bestTseb (Old) removed their profile picture.11:35:15
@test:boba.bestTseb (Old) removed their display name Tseb (Old).11:58:42
@test:boba.bestTseb (Old) left the room.13:11:02
19 Feb 2022
@zimbatm:numtide.comJonas Chevalier joined the room.22:27:47
3 Mar 2022
@colemickens:matrix.orgcolemickens changed their display name from colemickens 🏳️‍🌈 to colemickens.07:08:25
10 Mar 2022
@slby:matrix.orgslby joined the room.16:14:15
12 Mar 2022
@chris:matrix.ursus.systemschris joined the room.08:09:06
@chris:matrix.ursus.systemschris left the room.08:31:46
@chris:matrix.ursus.systemschris joined the room.08:32:01
13 Mar 2022
@skainswo:matrix.orgSamuel Ainsworth joined the room.05:46:34
@josw:matrix.orgjosw joined the room.08:08:53
@mcwitt:matrix.orgmcwitt joined the room.22:16:33
17 Mar 2022
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) Samuel Ainsworth: hey there 20:19:15
@ss:someonex.netSomeoneSerge (Ever OOMed by Element)So, I presume this would be the appropriate channel to coordinate CUDA things?20:19:29
20 Mar 2022
@dguibert:matrix.orgDavid Guibert joined the room.15:12:02
21 Mar 2022
@skainswo:matrix.orgSamuel Ainsworth Someone S: Let's create our own channel just for the sake of having our own space. I don't want to spam data science folks with things that may not be directly relevant for them 22:29:30
@skainswo:matrix.orgSamuel AinsworthHow do we create a matrix room on the nixos.org domain?22:30:47
@jb:vk3.wtfjbedo ask in #matrix-suggestions:nixos.org 22:31:19

Show newer messages


Back to Room ListRoom Version: 6