!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

277 Members
61 Servers

Load older messages


SenderMessageTime
2 Jan 2022
@teuffil:matrix.orgarba left the room.07:09:05
4 Jan 2022
@net-mist:matrix.orgnet-mist joined the room.16:25:33
11 Jan 2022
@jb:vk3.wtfjbedoif there's an rstudio-server user here and has time to test an rstudio-server module we could use some help testing a PR: https://github.com/NixOS/nixpkgs/pull/9583109:22:54
@jb:vk3.wtfjbedo * if there's an rstudio-server user here who has time to test an rstudio-server module we could use some help testing a PR: https://github.com/NixOS/nixpkgs/pull/9583109:24:08
@andrew:mtx.rew.laandrew joined the room.18:41:44
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.comzimbatm 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

There are no newer messages yet.


Back to Room ListRoom Version: 6