I\'m trying to build and use Haskell foreign library using nix and cabal2nix to achieve it.
When trying to load library it fails with:
Thread 1 ".