Building fails because library get added to its own dependencies

I try to build/install a library. After each build, the library itself is added to its dependencies in the cabal file, such that the next build fails due to cyclical dependencies. After manually removing the dependency, the library can be installed and used. Why does that happen?


Please sign in to leave a comment.