Poetry2nix | 301 Members | |
| https://github.com/nix-community/poetry2nix | 54 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Jan 2024 | ||
| Did you find an answer? | 11:14:32 | |
| * Hi Ryan Swart I'm really struggling twith this too | 11:16:23 | |
| Hi nazarewk ! Did you manage to package it with watchfiles? Strugging to get it to build the wheel | 11:18:48 | |
| I didn't continue the topic | 11:19:37 | |
| Ahh fair thanks! | 11:19:59 | |
| 18 Jan 2024 | ||
| 02:17:20 | ||
So poetry2nix has a bunch of examples of starting fresh and just packaging your project. But I have a prexisting project that isn't mine and thus I'm fetching from GitHub. The docs mention it has the src declaration so I've put src = pkgs.fetchFromGitHub { /* stuff here */ } but it still wants to grab from the folder where the declaration lives instead of the src I've provided. | 02:21:11 | |
I could just clone the repo onto my system and tack on the .flake but I figure that isn't the right way to do things. | 02:22:19 | |
You also need to provide the paths to pyproject.toml and poetry.lock | 05:25:09 | |
| And it will be IFD | 05:25:14 | |
| Are you doing this for your personal use or for nixpkgs? | 05:25:21 | |
| University related. I ended up just writing it as a bonafided deriative due a dependecy throwing an error with poetry2nix. | 05:26:35 | |
| So far I'm...still working on that. Time is a blur now. | 05:27:14 | |
| I'm getting close to it working though so...that's something. | 05:27:46 | |
| 12:12:52 | ||
| 12:14:12 | ||
| Redacted or Malformed Event | 16:57:11 | |
| Redacted or Malformed Event | 16:57:11 | |
| Hi everyone, I'm really struggling to work out how to debug this error. If you have any tips how to approach debuging this flake I'd really appreciate it. This is the error I'm getting
I'm running this command Any tips how to apporach this would be most appreciated! I'm attaching the relevant flake files and pyproject.toml in the thread if you are more curious | 16:58:28 | |
| * Hi everyone, I'm really struggling to work out how to debug this error. If you have any tips how to approach debuging this flake I'd really appreciate it. This is the error I'm getting
I'm running this command
Any tips how to apporach this would be most appreciated! I'm attaching the relevant flake files and pyproject.toml in the thread if you are more curious | 16:58:46 | |
| Download flake.nix | 16:59:02 | |
| Download flake.lock | 16:59:04 | |
| Download poetry.lock | 16:59:33 | |
| Download pyproject.toml | 16:59:34 | |
| 21 Jan 2024 | ||
| 18:18:40 | ||
| Hi, did you solve your issues related to cuda? | 18:49:41 | |
| i get the following libnvJitLink.so.12 -> not found! but have no idea how to install libnvjitlink to libcusparse | 18:50:50 | |
| 21:39:48 | ||
| Howdy -- I have a project I'm building against Python 3.12 using poetry2nix that has Cython 3.0.8 in its pyproject.toml and poetry.lock. This almost works as-intended, except for the build of pandas, which is instead using cython 0.29.36 (the revision pinned by nixpkgs). I've added an overlay to nixpkgs in my flake ( Any guidance on where to start in trying to understand this? | 21:45:23 | |
Ah! poetry2nix/overrides/default.nix:34 -- if attr == "cython" then self.python.pythonForBuild.pkgs.cython else self.${attr} | 22:00:08 | |