| 22 May 2024 |
x10an14 | According to nix-tree, I live in a world of impossibilities 🙃 | 11:45:02 |
x10an14 | Does this make any sense to you? | 11:45:10 |
K900 | You're looking at the drv file I think | 11:47:39 |
x10an14 | Hmm, okay. I guess a foray into learning nix-tree is next then, if I can afford the time. | 11:48:40 |
| NixOS Moderation Botchanged room power levels. | 15:25:57 |
| NixOS Moderation Botchanged room power levels. | 15:28:11 |
| @elonsroadster:matrix.org changed their display name from elonsroadster to colonelpanic. | 20:10:20 |
@elonsroadster:matrix.org | I feel like I'm probably missing something obvious, but I'm curious about what the easiest way to support a dependency that is not in nixpkgs or pypi is. Should I just use the built in nixpkgs tooling to define a nix build for that package and then add an override | 20:11:37 |
| 23 May 2024 |
truh | In reply to @elonsroadster:matrix.org I feel like I'm probably missing something obvious, but I'm curious about what the easiest way to support a dependency that is not in nixpkgs or pypi is. Should I just use the built in nixpkgs tooling to define a nix build for that package and then add an override I have poetry git dependencies work fine with poetry2nix in my experience. Even with private repos. | 08:20:58 |
truh | In reply to @elonsroadster:matrix.org I feel like I'm probably missing something obvious, but I'm curious about what the easiest way to support a dependency that is not in nixpkgs or pypi is. Should I just use the built in nixpkgs tooling to define a nix build for that package and then add an override * poetry git dependencies work fine with poetry2nix in my experience. Even with private repos. | 08:21:45 |
| wk changed their display name from j0xxx to wk. | 18:05:29 |
| 24 May 2024 |
| lambadada joined the room. | 18:52:13 |
| 27 May 2024 |
| mj joined the room. | 10:43:05 |
| 30 May 2024 |
| Matthias Q joined the room. | 12:02:31 |
Matthias Q | Redacted or Malformed Event | 12:02:43 |
Matthias Q | Hey Is it possible to have a check phase in mkPoetryApplication? I want to run unit tests there as well. | 12:03:37 |
tcelferact | Redacted or Malformed Event | 19:51:09 |
tcelferact | Hi all,
I'm trying to build scikit-learn 1.5.0, and their changelog says they've switched to meson: https://scikit-learn.org/stable/whats_new/v1.5.html#version-1-5-0. When I add meson-python to nativeBuildInputs, metadata generation fails when running this file: https://github.com/scikit-learn/scikit-learn/blob/5491dc695dbe2c9bec3452be5f3c409706ff7ee7/sklearn/_build_utils/version.py
This seems like an opportunity to learn more about poetry2nix and submit a PR. Are there any good resources people can recommend on translating a meson build to a poetry2nix override?
Thanks!
| 20:18:15 |
| 7 Jun 2024 |
TyberiusPrime (smilodon inopinatus) | I'm trying to patch the cython version used by a package:
peewee = super.peewee.overridePythonAttrs (old: let
old_buildInputs = old.buildInputs or [];
old_cython_filter = input: (builtins.substring 0 7 input.name) != "cython-";
in {
buildInputs =
(builtins.filter old_cython_filter old_buildInputs);
++ [super.cython_0];
});
But all I get is " error: value is a list while a set was expected" ...
Can anybody spot what I'm doing wrong?
| 12:11:44 |
TyberiusPrime (smilodon inopinatus) | or tell me if this is the wrong way to go about the problem in the first place | 12:12:01 |
TyberiusPrime (smilodon inopinatus) | ah, it's the input.name that's apperantly not an all entries of the list | 12:18:28 |
TyberiusPrime (smilodon inopinatus) | but it just ignores my filtered (native) buildInputs - I mean it filters them all right, I can trace that, but at the end cython 3.0 is back on the derivation. | 12:36:15 |
K900 | It could be propagated | 12:37:39 |
K900 | By something | 12:37:45 |
TyberiusPrime (smilodon inopinatus) | yeah by the buildSystem that's set in poetry2nix | 13:00:06 |
TyberiusPrime (smilodon inopinatus) | but I don't think I can override that downstream. | 13:00:14 |
TyberiusPrime (smilodon inopinatus) | So a fork & PR it is... | 13:00:23 |
| 8 Jun 2024 |
| @else42:tchncs.de joined the room. | 07:51:31 |
@else42:tchncs.de | what's the standard way to ignore/skip some dependencies, that are included by default, but are not needed for productive use? | 07:56:27 |
| @kritnich:kritni.ch joined the room. | 20:45:49 |