Another hint: pkg-config is usually run by configure. Or run pkg-config --list-all once. The output depends on env vars which is populated by build dependencies in nixpkgs. For details see man pkg-config. Marc Weber