Ok, after debugging for quite a while I got it running!
It seems that Roon now needs libz.so.1 which is not available by default in the path that NixOS exposes.
NixOS has a method for patching binaries that would allow me to expose libz seamlessly, but it seems that the libz version that NixOS has has a slightly different name: libz.so.1.2.11
The following “patch” allowed me to expose the library with the correct name:
- ln -s ${zlib}/lib/libz.so.1 $out/opt/RoonMono/lib/libz.so.1
I will submit a Pull Request to NixOS to try and get this fixed.
This makes me wonder, is there a way to configure RoonMono to use a different filename for libz?
Thanks for all your help here