nixpkgs/pkgs/development/tools/misc/pkgconfig/setup-hook.sh
Yury G. Kudryashov 62676e09eb setup-hooks using addToSearchPath
I've accidentially reverted setup-hooks while merging with trunk. Correcting it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=9821
2007-12-01 20:05:26 +00:00

6 lines
122 B
Bash

addPkgConfigPath () {
addToSearchPath PKG_CONFIG_PATH /lib/pkgconfig "" $1
}
envHooks=(${envHooks[@]} addPkgConfigPath)