14 lines
303 B
Bash
14 lines
303 B
Bash
|
grantleePluginPrefix=@grantleePluginPrefix@
|
||
|
|
||
|
providesGrantleeRuntime() {
|
||
|
[ -d "$1/$grantleePluginPrefix" ]
|
||
|
}
|
||
|
|
||
|
_grantleeEnvHook() {
|
||
|
if providesGrantleeRuntime "$1"; then
|
||
|
propagatedBuildInputs+=" $1"
|
||
|
propagatedUserEnvPkgs+=" $1"
|
||
|
fi
|
||
|
}
|
||
|
addEnvHooks "$hostOffset" _grantleeEnvHook
|