Poetry2nix | 330 Members | |
| https://github.com/nix-community/poetry2nix | 62 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Aug 2022 | ||
What I really wanted was the flax library which can work without tensorstore though it disables one minor feature. | 15:59:28 | |
Poetry thinks thinks that tensorstore is a dependency of flax but I was wondering if there was a correct way, via poetry2nix to tell it to ignore tensorstore. Should I patch poetry.lock? | 16:00:30 | |
I will work on a pull request for tensorstore, just need to learn a little more about bazel. Thanks for all your help @K900. | 19:30:56 | |
| 15 Aug 2022 | ||
| 23:18:49 | ||
| 16 Aug 2022 | ||
| 12:11:51 | ||
| 12:11:54 | ||
| 23:35:34 | ||
I'm trying to build poetry using poetry2nix like is done in nixpkgs. I need to pin to master. | 23:35:56 | |
| I'm getting some weird build failure, though, when I try to do this. It looks like the derivation is
| 23:36:31 | |
The flake is pretty simple and the pyproject.toml and poetry.lock came directly from python-poetry/poetry (which may be a mistake... not sure). | 23:37:07 | |
Before I created this flake I had tried modifying the nixpkgs source for poetry directly. But, I got the same result. | 23:37:37 | |
| What is failing, here? | 23:38:32 | |
| 17 Aug 2022 | ||
| Posted this issue at https://github.com/nix-community/poetry2nix/issues/697 | 10:14:18 | |
@adis:blad.is: I've been seeing the above issue in building poetry from the latest commit which has some changes that I want to use (https://github.com/python-poetry/poetry/issues/755). But, I'm a bit stuck on a problem with the derivation. If you have any bandwidth could you help me out or point me in the direction of someone who might know what's going on? | 11:49:45 | |
| 20:23:19 | ||
| 18 Aug 2022 | ||
| I'm not entirely sure if this is a poetry2nix issue, but in my build, I'm getting:
as well as
| 11:36:12 | |
| I'm sure this is the damn pip upgrade hook, but that doesn't make a lot of sense with Nix anyways - can I disable it easily? | 11:36:35 | |
| 21 Aug 2022 | ||
| 09:25:58 | ||
| Trying to package a simple Python/Gtk app, but I'm running into this:
Source is at https://git.ocjtech.us/jeff/gnome-random-background if anyone can help me get this going. | 23:59:26 | |
| 22 Aug 2022 | ||
In reply to @jeff:ocjtech.usI think propagating gtk is not enough, you'll need to set some env var (I don't know which one) | 05:07:55 | |
Propagating it would only serve to add it to $PATH and for hooks to be able to pick up the input | 05:08:23 | |
But at runtime it's all up to the generated wrapper which doesn't know how to do anything sensible for gi to know about gtk | 05:08:47 | |
| I think using wrapgappshook would fix it | 05:12:54 | |
| 05:13:02 | |
| (it didn't actually work) | 05:21:11 | |
| This gobject stuff is an absolute packaging nightmare | 05:21:21 | |
| But I think that's the functionality you're looking for | 05:23:34 | |
| yeah, just adding wrapGAppsHook didn't do anything, maybe it doesn't know how to wrap a python app? | 15:33:53 | |
| 23 Aug 2022 | ||
| 00:49:09 | ||
I'd like to have a derivation that includes not just my poetry.scripts (which are in Python) but also an external script that calls my Python application (think gunicorn). The docs mention dependencyEnv, but don't indicate how to create a standalone script that uses it. | 06:55:42 | |