Yabridge can't find yabridge-vst3.so

Hi there, I’ve been trying for too many hours now to get yabridge work (again). I had it running in the past but it broke on a nix-channel update (cant remember the nix-channel version, but I’m currently trying older versions without success).

I was wondering if anyone has a working setup currently?

I’m using currently the following packages (channel nixos-25.11);

environment.systemPackages = with pkgs;[
    yabridge
    yabridgectl
    wineWowPackages.yabridge
    winetricks
]

Installing the VSTs in wine works fine. Adding the path to yabrdige and syncing works as well.

yabridgectl add "path/to/wine/vst/folder"
yabridgectl sync

But when starting a VST3 which is synced with yabridge I get the error something lilke:

yabridge: can't find the yabridge-vst3.so

I did check the nix-profiles location. The path /run/current-system/sw/lib/libyabridge-vst3.so does exist. But I’m not sure if also need to be linked into ~/.nix-profile/lib/

If anyone has the solution or ideas on how to troubleshoot this let me know :blush: