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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
195 B
Bash
Raw Normal View History

2025-10-09 14:15:47 +02:00
thisroot () {
source @out@/bin/thisroot.sh
}
postHooks+=(thisroot)
addRootIncludePath() {
addToSearchPath ROOT_INCLUDE_PATH $1/include
}
addEnvHooks "$targetOffset" addRootIncludePath