diff --git a/pkgs/build-support/setup-hooks/role.bash b/pkgs/build-support/setup-hooks/role.bash index b2d34a1f8606..bfd6b61f0aed 100644 --- a/pkgs/build-support/setup-hooks/role.bash +++ b/pkgs/build-support/setup-hooks/role.bash @@ -1,8 +1,8 @@ -# Since the same derivation can be depend on in multiple ways, we need to +# Since the same derivation can be depended on in multiple ways, we need to # accumulate *each* role (i.e. host and target platforms relative the depending # derivation) in which the derivation is used. # -# The role is intened to be use as part of other variables names like +# The role is intended to be used as part of other variables names like # - $NIX_SOMETHING${role_post} function getRole() { @@ -49,7 +49,7 @@ function getTargetRoleEnvHook() { getRole "$depTargetOffset" } -# This variant is inteneded specifically for code-prodocing tool wrapper scripts +# This variant is intended specifically for code-producing tool wrapper scripts # `NIX_@wrapperName@_TARGET_*_@suffixSalt@` tracks this (needs to be an exported # env var so can't use fancier data structures). function getTargetRoleWrapper() {