Sender | Message | Time |
---|---|---|
21 Feb 2024 | ||
seems like I need to set up pythonPackagesExtensions any idea how to do that?https://discourse.nixos.org/t/how-to-override-disable-python-build-hooks/37374 | 12:24:38 | |
seems to be an overlay? o.O https://github.com/NixOS/nixpkgs/blob/937261e3e0f40832e05125159531bd06bd625585/nixos/modules/config/no-x-libs.nix#L71-L76 | 12:26:31 | |
In reply to @nazarewk:matrix.orgFYI: https://matrix.to/#/!VjfUzaKsXokUdnQcvP:nixos.org/$iyPHRxjXSjj9LR_9Rh86G1Yba2iI389Pn_8rZ1bIa3Y?via=nixos.org&via=matrix.org&via=nixos.dev | 13:39:17 | |
19:51:00 | ||
23 Feb 2024 | ||
11:31:28 | ||
14:20:16 | ||
16:59:47 | ||
25 Feb 2024 | ||
Has anyone managed to build PyMuPDF? It fails on version 1.20.2 with:
| 15:20:25 | |
It already has libclang and setuptools | 15:20:49 | |
not sure what I can do about it | 15:21:02 | |
26 Feb 2024 | ||
09:24:21 | ||
I guess I'll have to make an issue or fix it for myself | 21:15:44 | |
on the bright side I'll at least learn something about packaging python libraries | 21:16:14 | |
27 Feb 2024 | ||
Have anyone had problems installing pyqt? I'm not able to add pyqt5 to poetry at all, and while poetry add pyqt6 works, when I build it with nix, I get a bunch of missing Qt libraries | 07:42:01 | |
11:55:13 | ||
I'm trying to use poetry2nix to package an application | 11:56:31 | |
In reply to @lunarequest:greyseal.euCool, are you having any issues? | 12:10:35 | |
In reply to @gaivs:matrix.orgHave you tried adding random nativeBuildInputs? | 12:12:58 | |
In reply to@gaivs:matrix.orgwas having an issue, it seems to have resolved itself but had to run out before i could ask | 12:18:39 | |
* was having an issue, it seems to have resolved itself but had to run out before i could update/ask the question | 12:18:50 | |
In reply to @xescure:matrix.org It seems to work for the hard coded versions of pyqt6 in the tests directory for pyqt6. I wonder why this is the case... | 12:48:10 | |
In reply to @xescure:matrix.org
| 15:16:15 | |
In reply to @xescure:matrix.org*
| 15:16:36 | |
This abomination solved my problems | 15:18:20 | |
28 Feb 2024 | ||
Do anyone know of any larger projects that use poetry2nix that I can use for inspiration? | 10:26:59 | |
In reply to @gaivs:matrix.orgMaybe not large per se, but this is the most complex poetry2nix setup I've built. | 10:57:33 | |
Hello everyone, I'm building containers using poetry2nix (and everything works, thanks for your work!) For debugging the application, I must systematically do a path mapping between the libs in the container and the path on the dev tool (/home/(...)/dev/lib1:/nix/store/ (...)lib1/lib/python...). I'm looking for a tip to generate an env with all my linked libs (a bit like with nix-shell) with a deterministic path (/run/current-system/dev/lib/python...?). Is there a trick to defining a list of python libs (and a destination path) to place in a common directory with poetry2nix? | 16:00:39 | |
My first thought was that it's not really poetry2nix's job to do that. But since it generates the app startup scripts, I have to modify them after being created | 16:04:31 | |
I'm testing but it seems that mkPoetryEnv meets my needs | 16:21:09 | |
this was simpler than expected => py_env = (entrypoint.python.withPackages (ps: [<my poetry app>])); | 18:18:55 |