I am trying to package miningcore, but I’ve run into an issue. A big chunk of the codebase uses native C and C++ code, and it seems that, at runtime, these libraries cannot access any of the shared libraries they include resulting in a lot of undefined symbol errors.
As I haven’t much experience with dotnet in general, I am not really sure how to resolve this issue, or if it is resolvable in the current state of dotnet on nix.
If you are using flakes, the quickest way to build the package to reproduce the error is directly from my flake:
nix build "github:nrdxp/nixflk#miningcore"