-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gettext: Don't use envHooks anymore #33524
Conversation
7486fdf
to
95ecb1f
Compare
Rebased onto staging. |
Then other instances of |
Probably. There's three left:
This one is the only one holding back the channel though, as far as I can see. |
Thanks! Just need to make sure we use the right offset. |
It is a very naïve fix. I don't know if it is the right offset. |
@Ericson2314 The documentation says that "These 6 bash variables (envBuildBuildHooks etc.) correspond to the 6 sorts of dependencies by platform", but I don't understand what these sorts mean. For example, what is envBuildTargetHooks? |
So
Basically, gettext is always a native build input, so use host offset for other native build inputs, or target offset for build inputs. |
What is |
That would be things running on the build platform but compiling for the target platform. Imagine you are building a build != host != target (Canadian cross) compiler. You use a build->host compiler to build the compile itself. But you cannot use that to build the new compiler's runtime. You can't use the new compiler either cause you cannot run it. Instead you use a separate build->target compiler instead. [Ideally we would use the new compiler to build the run time like any other library, on the host platform where thst compiler will actually run, but some compilers insist the runtime be built with the compiler that generates code using it, giving us the need for such a weird dependency.] |
This reverts commit d3ad52a. In order to see if NixOS#33524 is sufficient
Motivation for this change
After conferring with @jtojnar on irc, we believe this was simply missed in #26805
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)