8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
13 lines
303 B
Bash
13 lines
303 B
Bash
grantleePluginPrefix=@grantleePluginPrefix@
|
|
|
|
providesGrantleeRuntime() {
|
|
[ -d "$1/$grantleePluginPrefix" ]
|
|
}
|
|
|
|
_grantleeEnvHook() {
|
|
if providesGrantleeRuntime "$1"; then
|
|
propagatedBuildInputs+=" $1"
|
|
propagatedUserEnvPkgs+=" $1"
|
|
fi
|
|
}
|
|
addEnvHooks "$hostOffset" _grantleeEnvHook
|