Poetry2nix | 315 Members | |
| https://github.com/nix-community/poetry2nix | 60 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Feb 2022 | ||
So maybe it's a dockerTools bug? | 07:57:47 | |
| It might be | 07:57:54 | |
I think my next step will be to build a container image with something like buildah or just writing a plain Dockerfile and test if it works that way. If it does, I'll file the issue as a dockerTools bug and let the packagers decide what it's a bug of | 08:00:17 | |
| 21 Feb 2022 | ||
| Redacted or Malformed Event | 12:47:43 | |
| hello people. I'm trying to get a proper devShell. So far I have followed the example from https://github.com/nix-community/poetry2nix#example-shellnix | 12:48:56 | |
| It's working, but... poetry is not inside the shell. How to add it? | 12:49:14 | |
| 12:50:19 | |
| See? I expected poetry to be available from the nix store instead... how to do that? | 12:51:02 | |
| I tried adding poetry to
It failed:
| 12:52:11 | |
| 15:27:49 | ||
| Hello! I'm trying to use poetry2nix for a kubeflow project we have. This means it unfortunately runs with Py3.6 (soon 3.8 I heard). I got to a point where I was able to specify Python 3.6, but now I am getting a version mismatch arrow: I'm not entirely sure where it gets arrow-cpp 7.0 from, my pyarrow version specified in the poetry.lock is 2.0. My default.nix: { pkgs ? import <nixpkgs> {} }: | 15:36:05 | |
| * Hello! I'm trying to use poetry2nix for a kubeflow project we have. This means it unfortunately runs with Py3.6 (soon 3.8 I heard). I got to a point where I was able to specify Python 3.6, but now I am getting a version mismatch arrow: I'm not entirely sure where it gets arrow-cpp 7.0 from, my pyarrow version specified in the poetry.lock is 2.0. My default.nix:
| 15:36:19 | |
| Can somebody point me into the right direction here? | 15:37:29 | |
| darwin20 refers to an older channel: https://releases.nixos.org/nixpkgs/20.09-darwin/nixpkgs-darwin-20.09pre247167.1c1f5649bb9 | 15:40:28 | |
In reply to @jairo:recallstack.icu Hi, Jairo. This is how i define devShell in most cases
| 18:08:52 | |
But it's better to do concatentation of oldAttrs.buildInputs with new list. But this works for my projects, because there is no buildInputs exists before overriding | 18:10:38 | |
| 20:39:53 | ||
| 20:40:08 | ||
| 22 Feb 2022 | ||
In reply to @mou_bugtracker:matrix.orgthanks, it works! | 09:41:46 | |
| 15:21:37 | ||
Anyone here got a tip for me how to overcome this build error? https://paste.sr.ht/~x10an14/9ad4459b175e516d04bc3fb17123c3206da6a3c0#nix%20build%20log%20error-L94 It's my first time using poetry2nix, so I may have messed up my flake.nix... | 15:56:07 | |
In reply to @x10an14:matrix.org Try to define mkPoetryApplication with override like this
Sorry for formatting | 16:43:45 | |
| It's my guess based on error log. I assume, prospector package using poetry for building, but poetry2nix have no information about this fact, so there is possibly missing build dependency | 16:45:59 | |
| sorry, i messed up. | 16:46:29 | |
In reply to @mou_bugtracker:matrix.orgThanks! Can't get that to work though, seems like it won't merge properly? As-is, it complains about the prev on your line 3, since defaultPythonSetup is just an attrset to make things DRY, not an overlay/function. | 16:46:35 | |
| here how i define such override (whole example)
This is overlay for nixpkgs as it appears in poetry2nix README example | 16:48:51 | |
| This is where prev comes from. It refers to pre-override nixpkgs | 16:49:28 | |
| * This is where prev comes from. It refers to pre-overlay nixpkgs | 16:49:38 | |
| Ahh, gotcha. Thanks! =D | 16:49:45 | |
| i should be more accurate next time. hope my guess is lucky ) | 16:50:52 | |