2017-05-19 07:16:26 -07:00
|
|
|
grantleePluginPrefix=@grantleePluginPrefix@
|
|
|
|
|
|
|
|
providesGrantleeRuntime() {
|
|
|
|
[ -d "$1/$grantleePluginPrefix" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
_grantleeEnvHook() {
|
|
|
|
if providesGrantleeRuntime "$1"; then
|
2017-11-17 10:26:21 -08:00
|
|
|
propagatedBuildInputs+=" $1"
|
2017-05-19 07:16:26 -07:00
|
|
|
propagatedUserEnvPkgs+=" $1"
|
|
|
|
fi
|
|
|
|
}
|
2017-08-10 15:22:07 -07:00
|
|
|
addEnvHooks "$hostOffset" _grantleeEnvHook
|