Poetry2nix | 298 Members | |
| https://github.com/nix-community/poetry2nix | Poetry2nix is unmaintained https://github.com/nix-community/poetry2nix/issues/1865 | 53 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Sep 2024 | ||
| 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 | |
| my guess is that the ordering in lib.composeManyExtensions is not as expected? | 17:01:06 | |
| 17:01:53 | |
*
| 17:02:00 | |
| nvm I was not being smart and forgot to update my flake lockfile when making changes to my local copy | 17:11:25 | |
| I'm not quite sure what exactly was going on but everything builds so | 17:15:48 | |
| anyway made a pr for types-cffi https://github.com/nix-community/poetry2nix/pull/1831 | 17:23:06 | |
| oh someone beat me to the psycopg-c pr and my fork that I was testing with included those changes https://github.com/nix-community/poetry2nix/commit/038825873c3c3c7f9e238384e7324a3e7f7a1b15 | 17:25:24 | |
| makes sense now | 17:25:27 | |
| 30 Sep 2024 | ||
| Thank you ! would you know a CLI alternative to the python subprocess ? | 08:08:26 | |
| 1 Oct 2024 | ||
| 21:05:24 | ||