!fXpAvneDgyJuYMZSwO:nixos.org

Nix Data Science

301 Members
63 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
12 Jul 2023
@jb:vk3.wtfjbedo
In reply to @brodriguesco:matrix.org
I guess the issue was that before I wasn't creating an environment, because I wasn't using mkShell explicitely?
These general nix questions are better in #nix:nixos.org, but to answer your questions derivations have to produce all outputs, of which out is mandatory. Your expression above did not create the output path expected so your got an error when you tried to build it. mkShell is a wrapper around mkDerivation that simply dumps some text into the output path (see pkgs/build-support/mkShell/default.nix).
23:23:44
13 Jul 2023
@brodriguesco:matrix.orgBruno RodriguesAh great many thanks. I figured it had to do something with the fact that mkShell likely provided the required outputs, which I would have had to provide by hand otherwise07:52:14
@brodriguesco:matrix.orgBruno RodriguesI've joined the NixOS channel, I'll ask these types of questions in there in the future, thanks!07:52:56
17 Jul 2023
@petrichor:envs.net@petrichor:envs.net joined the room.14:29:47
@petrichor:envs.net@petrichor:envs.net ok, it's been a while since i looked at this, but i'm having a go at implementing a nix-flakes buildpack for repo2docker which will allow use of a git repo with a flake.nix on https://mybinder.org/ 14:32:09
@petrichor:envs.net@petrichor:envs.net story so far is that i got it working 2 years ago using the existing nix buildpack and edolstra's flake-compat, and to prove the long-term reproducibility of nix, it still builds and runs using repo2docker! https://codeberg.org/jezcope/binder-nix-flakes 14:34:22
@petrichor:envs.net@petrichor:envs.nethmm, OK, first roadblock to doing anything with a reasonably recent nixpkgs is this: repo2docker does not work with jupyter-server v2 https://github.com/jupyter-server/jupyter_server/issues/103816:24:45
@petrichor:envs.net@petrichor:envs.net is there a standard way to install an old version of a python package? equivalent to pip install jupyter-server<2.0.0 16:25:54
@petrichor:envs.net@petrichor:envs.net I guess I should ask in #python:nixos.org 16:28:22
18 Jul 2023
@zimbatm:numtide.comzimbatm changed their display name from zimbatm to Jonas Chevalier.11:06:32
20 Jul 2023
@brodriguesco:matrix.orgBruno Rodrigueshi again, I wrote two blog posts on Nix and R, maybe you’ll find them interesting :) any feedback welcome!14:40:00
@brodriguesco:matrix.orgBruno Rodrigueshttps://www.brodrigues.co/blog/2023-07-13-nix_for_r_part1/14:40:02

Show newer messages


Back to Room ListRoom Version: 6