mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
root: populate ROOT_INCLUDE_PATH via the setupHook
This commit is contained in:
parent
b371316f5d
commit
0fe6d6f6b9
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