nixpkgs/pkgs/development/tools/misc/automake/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
130 B
Bash

addAclocals () {
addToSearchPathWithCustomDelimiter : ACLOCAL_PATH /share/aclocal "" $1
}
envHooks=(${envHooks[@]} addAclocals)