https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
5 lines
116 B
Bash
5 lines
116 B
Bash
addRepDLLoadPath () {
|
|
addToSearchPath REP_DL_LOAD_PATH $1/lib/rep
|
|
}
|
|
|
|
addEnvHooks "$hostOffset" addRepDLLoadPath
|