Poetry2nix | 298 Members | |
| https://github.com/nix-community/poetry2nix | Poetry2nix is unmaintained https://github.com/nix-community/poetry2nix/issues/1865 | 54 Servers |
| Sender | Message | Time |
|---|---|---|
| 26 Sep 2024 | ||
In reply to @ersei:ersei.netDid that work? If so, would you be OK to create a PR? | 02:48:05 | |
In reply to @vengmark2:matrix.orgyeah, I was just confused since I thought psycopg-c already has one | 03:03:01 | |
| 27 Sep 2024 | ||
| 15:36:54 | ||
| Hello and thanks for your work, I'm trying to package my poetry project and I have a few issues. I created a basic app to experiment, if you want to reproduce my bugs. | 15:53:52 | |
| When following the tutorial without flakes I'm facing this error message : | 15:53:57 | |
I'm a bit confused by niv since I don't usually use it, I tried to run the command both inside the nix-shell including niv and outside and I'm still getting the same error | 15:54:11 | |
| When using flakes, I was able to run my flake (yeah !) but I now have a question regarding the dependency environment can't seems to find the right syntax to build it. | 15:54:20 | |
| The error message when running
| 15:54:37 | |
| Seeing that I could at least run the flake in my hello-world project, I tried to apply the same steps to my real-life project, putting aside the building problem for now. I created a PR for an override but I now have this error : | 15:54:49 | |
| 15:54:57 | |
| Thansk by advance for your help ! | 15:55:07 | |
| * When using flakes, I was able to run my flake (yeah !) but I now have a question regarding the dependency environment since I can't seems to find the right syntax to build it. | 15:56:23 | |
| * When using flakes, I was able to run my flake (yeah !) but I now have a question regarding the dependency environment since I can't seems to find the right syntax to build it (the README give an default.nix as example and I'm don't know enough about flakes to reproduce it) | 15:58:48 | |
| * When using flakes, I was able to run my flake (yeah !) but I now have a question regarding the dependency environment to run my app with gunicorn since I can't seems to find the right syntax to build it (the README give an default.nix as example and I'm don't know enough about flakes to reproduce it) | 16:08:04 | |
In reply to @ericadelagnier:multi.coop I think this will work with
| 16:10:55 | |
| Redacted or Malformed Event | 16:23:47 | |
| the build works ! thank you :) I can now run the app with ./result/bin/hello, but I'm not sure how to call it with gunicorn ? the README suggest "./result/bin/gunicorn web:app" but I'm not sure how to make gunicorn available in the result | 16:26:27 | |
In reply to @ericadelagnier:multi.coop I would suggest to add gunicorn in flake.nix buildInputs, and run it from python something like Part of
| 16:38:23 | |
In reply to @ericadelagnier:multi.coop* I would suggest to add gunicorn in flake.nix buildInputs, and run it from python something like Part of
| 16:38:46 | |
| 28 Sep 2024 | ||
| so I'm working on making a PR to fix some build tools issues | 16:51:46 | |
| but psycopg-c also depends on postgresql.dev | 16:51:54 | |
* but psycopg-c also depends on postgresql.dev | 16:52:00 | |
| what's the best way to handle that kind of override | 16:52:07 | |
| oh I see the issue | 16:54:02 | |
because psycopg had an override to add postgres to it (not postgresql.dev) the override to add setuptools was removed | 16:54:29 | |
| yep, can confirm that this is a bug | 16:59:00 | |
| by removing psycopg's override in defaults.nix, the build system for it works | 16:59:16 | |
| I'm not sure how I would go around fixing that though | 16:59:28 | |
| * by removing psycopg's override in defaults.nix, the build system for it works (after adding an overlay to add postgresql.dev back in) | 16:59:46 | |
* by removing psycopg's override in defaults.nix, the build system for it works (after adding an overlay to add postgresql.dev back in) | 16:59:53 | |