Python runtime dependencies for a non-python package


I try to specify python310 runtime dependencies in a non-python nixpkg.

I tried propagatedBuildInputs but had no luck. I think it’s only working in python packages.

What the idiomatic way in non-python nixpkgs?

I solved the problem by writing a wrapper.

Yes you need to use makeWrapper. See qgis for example.