depot/third_party/nixpkgs/pkgs/development/libraries/grantlee/5/setup-hook.sh

14 lines
303 B
Bash
Raw Normal View History

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