Poetry2nix | 304 Members | |
| https://github.com/nix-community/poetry2nix | 55 Servers |
| Sender | Message | Time |
|---|---|---|
| 2 Oct 2024 | ||
| 14:14:13 | ||
| Hi, not sure if this is the place for this but does poetry2nix work for installing an existing github repo as a package? i.e. If there's an existing project with poetry.toml etc and I would like to write a flake to install it as a program in my config? | 14:17:48 | |
| You don't need a flake for this | 14:18:40 | |
| But it could work yes | 14:18:45 | |
In reply to @k900:0upti.meoh really? what's the simpler solution? | 14:19:47 | |
| Because after a lot of fiddling I've got a flake that looks like this:
and it's just giving me a recursion error | 14:19:57 | |
| You can just define a package directly in your config | 14:20:00 | |
| That is possible on some packages, yes | 14:20:14 | |
| It could just be a poetry2nix bug | 14:20:26 | |
In reply to @k900:0upti.megetting a recursion error? | 14:20:57 | |
| Yes | 14:21:37 | |
In reply to @k900:0upti.mecould you point me to some relevant docs? All the ones I've found seem to imply that to define a package you need to write a flake | 14:21:48 | |
| You can just move the contents of the flake into your config more or less unchanged | 14:22:30 | |
| oh yeah fair that's basically what i have, the flake is just a file in my config | 14:22:56 | |
| yeah okay it seems like a partially fixed issue with poetry2nix and some packages? I guess i'll make a new issue about it | 14:33:02 | |
| * yeah okay it seems like a partially fixed issue with poetry2nix and some packages? I guess i'll make a new issue about it / see if i can fix the deps | 14:33:41 | |
| 4 Oct 2024 | ||
| 22:04:24 | ||
| 8 Oct 2024 | ||
| 16:33:14 | ||
| 9 Oct 2024 | ||
| 01:20:20 | ||
| 14:18:28 | ||
| 23:47:10 | ||
| 10 Oct 2024 | ||
| 09:10:54 | ||
| 20:34:11 | ||
| 11 Oct 2024 | ||
| hi, i want to use poetry2nix to deploy my fastapi application, is there a way to implement the fastapi cli tool to it, so i can benefit from thair well structured logs? | 06:34:34 | |
| are you adding fastapi[standard]? I think there was a github issue about this recently... | 11:01:35 | |
| Yes, I think this has something to do with the fact that the packages are in a different location in the Nix system. | 11:03:36 | |
| And I currently don't know how I can start my application in the scripts section with the CLI. I only know the Unicorn version from my main package directly in Python. | 11:04:54 | |
| * And I currently don't know how I can start my application in the scripts section with the CLI. I only know the Unicrin version from my main package directly in Python. | 11:05:12 | |
| 12 Oct 2024 | ||
| 12:19:08 | ||
| Hi all, I am using poetry2nix and crane to build a polars expression in rust for use in python. The setup works outside nix, but I'm struggling to make it work with nix. Each part works fine, but as soon as I add the rust wheel to
My
| 12:47:14 | |