diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2022-09-05 18:47:48 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2022-09-05 18:47:48 -0400 |
commit | 0fe6d6f6b9ab4b512469554b0c4d7520666377a6 (patch) | |
tree | 0273f354d71f970e0105153718c0a47c6933d0c1 /pkgs/applications/science | |
parent | b371316f5d8039981c969868c006dd28b29dce69 (diff) |
root: populate ROOT_INCLUDE_PATH via the setupHook
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/misc/root/setup-hook.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/root/setup-hook.sh b/pkgs/applications/science/misc/root/setup-hook.sh index b26cf9b779f84..34c9bfdcebbd0 100644 --- a/pkgs/applications/science/misc/root/setup-hook.sh +++ b/pkgs/applications/science/misc/root/setup-hook.sh @@ -11,3 +11,9 @@ thisroot () { } postHooks+=(thisroot) + +addRootInludePath() { + addToSearchPath ROOT_INCLUDE_PATH $1/include +} + +addEnvHooks "$targetOffset" addRootInludePath |