-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Purge stdenv.cross #26884
Purge stdenv.cross #26884
Conversation
@Ericson2314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @pSub and @vcunat to be potential reviewers. |
, icuSupport ? false, icu ? null }: | ||
}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
closes parentheses twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks; fixed
82cb4d8
to
162b442
Compare
162b442
to
0e765ee
Compare
@bjornfor that's my fault with the sed before the manual fix up. I hope there's a way to filter-branch to fix that.... |
@Ericson2314. No problem. I think you can script the git filter-branch thing. |
I'm guessing the salient aspect here is not cross compiling itself, but just whether the host platform is MinGW, so I simplified the logic accordingly
cc-wrapper will define environment variables matching those now
c3a4603
to
721f7c5
Compare
721f7c5
to
307cba5
Compare
307cba5
to
9f156f4
Compare
Motivation for this change
stdenv.cross
is vague: better to usebuildPlatform
,hostPlatform
ortargetPlatform
. This is a rather tedious task so anyone that sees this, feel free to push to this PR (if you are a contributor) or send a PR against the PR (if you are not).Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)CC @bjornfor @matthewbauer @Dridus