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

check-meta: use system tuple in platforms #60349

Merged
merged 5 commits into from Jun 4, 2019

Conversation

matthewbauer
Copy link
Member

Fixes #60345

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • 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 nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added the 6.topic: stdenv Standard environment label Apr 28, 2019
@samueldr
Copy link
Member

samueldr commented Apr 28, 2019

Thanks for working on this!

Just a heads up, since checks failing don't send a notification:

attribute 'riscv' missing, at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-2-shlevy.ewr1.nix.ci/pkgs/os-specific/linux/kexectools/default.nix:26:20

@FRidh
Copy link
Member

FRidh commented Apr 28, 2019

@GrahamcOfBorg eval

This was never listed in doubles.nix! Not sure why?
@globin
Copy link
Member

globin commented May 7, 2019

Shouldn't you be able to remove lib.systems.forMeta and for-meta.nix with this?

@matthewbauer
Copy link
Member Author

Yeah probably ok to do that

@matthewbauer matthewbauer added this to the 19.09 milestone Jun 3, 2019
This is unused now.
This makes things a little bit more convenient. Just pass in like:

$ nix-build ’<nixpkgs>’ -A hello --argstr localSystem x86_64-linux --argstr crossSystem aarch64-linux
@matthewbauer matthewbauer merged commit 760c999 into NixOS:master Jun 4, 2019
matthewbauer added a commit that referenced this pull request Jun 4, 2019
in #60349, the attr handling was
removed. This means we rely on these double values for determing what
we are compatible with. This adds some of the missing doubles to this
list.

https://hydra.nixos.org/eval/1523389#tabs-removed
matthewbauer added a commit to matthewbauer/nixpkgs that referenced this pull request Jul 8, 2019
These are used in cross-compilation to iOS devices and simulators.

Fallout from NixOS#60349.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

meta.platforms is broken
4 participants