Skip to content
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

Merged
merged 68 commits into from Jun 29, 2017
Merged

Conversation

Ericson2314
Copy link
Member

Motivation for this change

stdenv.cross is vague: better to use buildPlatform, hostPlatform or targetPlatform. 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
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

CC @bjornfor @matthewbauer @Dridus

@Ericson2314 Ericson2314 added 2.status: work-in-progress 6.topic: cross-compilation Building packages on a different sort platform than than they will be run on labels Jun 26, 2017
@mention-bot
Copy link

@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 }:
}:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

closes parentheses twice.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks; fixed

@Ericson2314
Copy link
Member Author

@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....

@bjornfor
Copy link
Contributor

@Ericson2314. No problem. I think you can script the git filter-branch thing.

@Ericson2314 Ericson2314 merged commit e1faeb5 into NixOS:master Jun 29, 2017
@Ericson2314 Ericson2314 deleted the purge-stdenv-cross branch June 29, 2017 01:39
@Ericson2314 Ericson2314 added this to Prior in Cross compilation Oct 30, 2017
@Ericson2314 Ericson2314 changed the title Purge stdenv cross Purge stdenv.cross Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cross-compilation Building packages on a different sort platform than than they will be run on
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

9 participants