mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
f2a142727c
Ada depencencies musst be build with the same gnat version as the project. Use a namespace as preperation to build with different gnat versions. gprbuild and gnatprove are still globaly visable.
9 lines
181 B
Bash
9 lines
181 B
Bash
addAdaObjectsPath() {
|
|
local role_post
|
|
getHostRoleEnvHook
|
|
|
|
addToSearchPath "GPR_PROJECT_PATH${role_post}" "$1/share/gpr"
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" addAdaObjectsPath
|