I would look at a few places where this is already done in Nixpkgs:
It should work fine if you have the right dependencies. @jtojnar was just mentioning this kind of thing:
https://github.com/NixOS/nixpkgs/pull/50527#issuecomment-439777887
I would look at a few places where this is already done in Nixpkgs:
It should work fine if you have the right dependencies. @jtojnar was just mentioning this kind of thing:
https://github.com/NixOS/nixpkgs/pull/50527#issuecomment-439777887