[Nix-dev] pkg-config dependencies

Marc Weber marco-oweber at gmx.de
Fri Jan 22 16:29:03 CET 2010


Sometimes I stumble on:
error: Library requirements (gtksourceview-1.0 >= 1.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

There are two solutions: Add the package to propagatedBuildInputs or add
this package to satisfy pkg-config in this case.

So I wonder whether we should make the default builder scan the
pkg-config configuration files (*.pc) to add its dependencies to
propagatedBuildInputs automatically?

Does this make sense?

Marc Weber



More information about the nix-dev mailing list