depot/third_party/nixpkgs/pkgs/by-name/ro/root/setup-hook.sh

11 lines
195 B
Bash

thisroot () {
source @out@/bin/thisroot.sh
}
postHooks+=(thisroot)
addRootIncludePath() {
addToSearchPath ROOT_INCLUDE_PATH $1/include
}
addEnvHooks "$targetOffset" addRootIncludePath