Add pkgconfig, man pkgconfig tells you about PKG_CONFIG_PATH variable.
nix-build -A pkgconfig -> nix-support/setup-hook
adds env hooks which get run by the standard builder:
addPkgConfigPath () {
addToSearchPath PKG_CONFIG_PATH $1/lib/pkgconfig
addToSearchPath PKG_CONFIG_PATH $1/share/pkgconfig
}
envHooks=(${envHooks[@]} addPkgConfigPath)
Thus adding pkgconfig to buildInputs should be enough.
The standard builder script is worth looking at and remembering:
./pkgs/stdenv/generic/setup.sh
Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev