Poetry2nix | 314 Members | |
| https://github.com/nix-community/poetry2nix | 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Dec 2023 | ||
| Use the examples on the repo | 07:24:41 | |
| Or the example flake | 07:24:46 | |
| Thanks! with this config in the readme, I have got the same error.
| 09:33:32 | |
Using flake and nix build, it works as expected. | 09:33:53 | |
| * Thanks! with this config in the readme, I have got the same error.
| 09:37:09 | |
| 4 Dec 2023 | ||
| Latest Nix (nixos/nix:2.19.2 container), nixpkgs@nixos-unstable (e92039b55bcd58469325ded85d4f58dd5a4eaf58), and poetry2nix@master (7eaec209686dd2a798fa0a86dc2118f4175abf34) don't seem to work together. Are these known to be broken together right now? | 07:13:19 | |
| 12:45:48 | ||
| 5 Dec 2023 | ||
| 00:37:53 | ||
| Hi. I'm getting the following error when trying to build my application via flake:
I read about this issue, but I'm using a flake and made sure the revision for poetry2nix in flake.lock matches the HEAD commit in the master repo. Any ideas what could be wrong? | 14:01:13 | |
| 6 Dec 2023 | ||
In reply to @virtu:matrix.imnevermind. I just saw the commit from yesterday that fixed it. working now. | 07:16:43 | |
| 17:59:51 | ||
| 7 Dec 2023 | ||
| 13:10:21 | ||
| I'd like help to understand I've defined on my flake.nix:
and I'm able to import my package:
But it shows up inside the nix store, which is read-only. So, how could it be "editable"?
without the | 21:38:52 | |
| I'd expect for it to point to the local package source folder. But I also don't think it's possible to link something like that inside de Nix store. | 21:39:53 | |
| Are you using flakes? | 21:40:59 | |
| Flakes can't do editable installs | 21:41:03 | |
| Because flakes need to be copied to the store for evaluation to be hermetix | 21:41:15 | |
| * Because flakes need to be copied to the store for evaluation to be hermetic | 21:41:22 | |
| So they don't know where they've been copied from | 21:41:30 | |
In reply to @adis:blad.isYeap. | 21:44:35 | |
In reply to @k900:0upti.meI see. Thank you. | 21:44:44 | |
You can work around it with nix develop --impure | 21:48:50 | |
| 8 Dec 2023 | ||
| I'm trying to include the `simplejpeg` package. First I get the ModuleNotFoundError for setuptools, so I add that to the override. Then I get a metadata-generation-failed error. Investigating the log, I find that I have a ModuleNotFoundError for cmake, so I add that also to the override for simplejpeg. However now I get a cmake command not found error... Have anyone met this kind of error before, and have an idea of how to solve it? | 11:31:21 | |
Add cmake to nativeBuildInputs | 11:32:31 | |
In reply to @k900:0upti.me Thanks! Now I first get a cmake warning: Then a cmake error: | 11:46:27 | |
| That sounds like a packaging issue maybe | 11:46:44 | |
| I don't think we wrap cmake? | 11:46:54 | |
| Yeah I suppose, simplejpeg seems pretty obscure... It does compile if I use preferWheels. obviously that is not optimal, but if it works 🤷♂️ | 11:50:19 | |
In reply to @gaivs:matrix.orgWith preferWheels and without the override for simplejpeg ofc | 11:50:47 | |
| 13:09:38 | ||