mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
de24042fed
Also, remove many patches and workarounds that are not necessary anymore.
12 lines
195 B
Bash
12 lines
195 B
Bash
thisroot () {
|
|
source @out@/bin/thisroot.sh
|
|
}
|
|
|
|
postHooks+=(thisroot)
|
|
|
|
addRootIncludePath() {
|
|
addToSearchPath ROOT_INCLUDE_PATH $1/include
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" addRootIncludePath
|