Skip to content

top-level: Allow nixpkgs to take localSystem directly#22575

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
Ericson2314:localSystem
Feb 9, 2017
Merged

top-level: Allow nixpkgs to take localSystem directly#22575
Ericson2314 merged 1 commit intoNixOS:masterfrom
Ericson2314:localSystem

Conversation

@Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Feb 9, 2017

This is instead of both system and platform, which is kind of ugly.

Motivation for this change

This lays the ground work for making sure {build,host,cross}Platform contain the same fields, harmonizing things like system (e.g. x86_64-linux) vs config (e.g. x86_64-unknown-linux-gnu).

Things done

Ran the Travis script + no hashes are changed

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

@mention-bot
Copy link

@Ericson2314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @nbp and @elitak to be potential reviewers.

@Ericson2314 Ericson2314 requested a review from shlevy February 9, 2017 00:20
@Ericson2314 Ericson2314 added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Feb 9, 2017
Copy link
Member

@shlevy shlevy left a comment

Choose a reason for hiding this comment

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

🚢

Copy link
Member

Choose a reason for hiding this comment

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

Maybe link to the relevant pages for now?

Copy link
Member

Choose a reason for hiding this comment

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

Why is this change made?

Copy link
Member Author

Choose a reason for hiding this comment

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

80 char consistency.

This is instead of both system and platform, which is kind of ugly.
@Ericson2314
Copy link
Member Author

Tested again locally, so merging

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 platform than they will be used on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants