Poetry2nix | 314 Members | |
| https://github.com/nix-community/poetry2nix | 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 21 Mar 2024 | ||
Ah yes with that package already bringing in the binaries, you should have a look where those binaries end up in the store and add the path to the containing folder to LD_LIBRARY_PATH in your patch for the python package which fails to load them. mitsuba I believe? | 15:01:53 | |
In reply to@angryant:envs.netok! Is there a way to specify the ld_library_path env variable inside the override (similar to how buildInputs is specified)? | 15:42:25 | |
| You should be able to set it quite literally. Though it's been a while since I've done so for a package derivation an not just a shell. | 15:44:48 | |
| Alright, I will try it out later! | 15:51:02 | |
| 18:03:28 | ||
I did it (i think)! Setting the LD_LIBRARY_PATH did nothing. But what fixed it for me was to use nativeBuildInputs instead of buildInputs inside the override.. onto the next error :) | 18:37:02 | |
| 20:10:04 | ||
| 22 Mar 2024 | ||
| 00:45:14 | ||
| 23 Mar 2024 | ||
| 15:57:09 | ||
| hi | 16:12:19 | |
i was just trying out the template but ran into: error: stack overflow (possible infinite recursion) | 16:13:51 | |
| i've seen some issues on github that point to a similar problem i guess but i couldn't figure out how to work around this | 16:14:30 | |
| is there a workaround? am i doing something wrong? is the template broken? i am very confused | 16:16:33 | |
| okaay | 18:33:55 | |
| after staring at it for a while i figured it out | 18:34:07 | |
| also reading this issue more carefully helped: https://github.com/nix-community/poetry2nix/issues/1471 | 18:34:46 | |
The template project passes the flake self to projectDir, which seems weird to me. | 18:34:58 | |
replacing self with ./. fixed the issue | 18:35:25 | |
| Redacted or Malformed Event | 20:05:25 | |
| 24 Mar 2024 | ||
Hey, I'm back with mitsuba problems. My devshell builds fine but when I try to import the module in python, I get this (actually very nice) warning:Which later produces the error:So drjit is supposed to be over at the mitsuba derivation but it of course has its own. Is there any way to fix this?Maybe the second output is not even related to this problem? This is my current override: | 10:21:42 | |
Ok, so I managed to kick out the first warning by doing this ugly stuff (just for debugging):so it is unrelated to the ImportError I mentioned previously. But then how can I fix the ImportError? | 11:56:21 | |
| latenighticecream: not sure if that helps. but can you build drjit as a seperate package and then use it as a "normal" buildinput for mitsuba? | 12:29:21 | |
| do you have a github repo to share? i might be able to also take a look at it today | 12:30:21 | |
| i am very much interested in using mitsuba myself :) | 12:30:32 | |
| Thanks, I will try that out ! I don't have a repo for this, but i will create a temporary one for this. Currently, this is for my masters thesis which is a private repo for the time I work on it. The stupid thing is, I don't really want to use any of mitsuba - I am just trying to get a shell with sionna which requires this package, but only for things that I dont even need xD | 12:51:12 | |
| 13:18:41 | ||
| I am trying to update poetry2nix to work with a more recent nixpkgs, and I need some help with the darwin builds. I don't have access to a mac. | 13:19:51 | |
| https://github.com/nix-community/poetry2nix/pull/1559 is the PR | 13:20:16 | |
| It looks like there's some issues with function pointer signatures with lxml, scipy and matplotlib (or some transitive dependency thereof) | 13:21:20 | |
| latenighticecream: welcome to dependency hell 🫠if you can provide a minimal example repo (i.e. flake with drjit+mitsuba packages) i'd be willing to help but i only have time to work on such projects on weekends | 13:37:14 | |