mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #189926 from veprbl/pr/root_rip_via_setup_hook
root: populate ROOT_INCLUDE_PATH via the setupHook
This commit is contained in:
commit
ea1dcc4f8b
1 changed files with 6 additions and 0 deletions
|
@ -11,3 +11,9 @@ thisroot () {
|
|||
}
|
||||
|
||||
postHooks+=(thisroot)
|
||||
|
||||
addRootInludePath() {
|
||||
addToSearchPath ROOT_INCLUDE_PATH $1/include
|
||||
}
|
||||
|
||||
addEnvHooks "$targetOffset" addRootInludePath
|
||||
|
|
Loading…
Reference in a new issue