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

lib/systems/inspect.nix: add isPower64 #168111

Merged
merged 1 commit into from Apr 25, 2022
Merged

lib/systems/inspect.nix: add isPower64 #168111

merged 1 commit into from Apr 25, 2022

Conversation

ghost
Copy link

@ghost ghost commented Apr 10, 2022

Description of changes

This commit adds an isPower64 predicate to the two existing predicates for this architecture (isPower and isPowerPC).

Note that isPowerPC matches only 32-bit machines (see also #168113), whereas isPower matches both 64-bit and 32-bit machines. Prior to this commit there was no single isXXX predicate for powerpc64.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
    • powerpc64le-linux
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

This commit adds an `isPower64` predicate to the two existing
predicates for this architecture (`isPower` and `isPowerPC`).

Note that `isPowerPC` matches only 32-bit machines, whereas `isPower`
matches both 64-bit and 32-bit machines.  Prior to this commit there
was no single `isXXX` predicate for `powerpc64le`.
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Apr 10, 2022
@ghost ghost marked this pull request as ready for review April 10, 2022 09:46
@ghost
Copy link
Author

ghost commented Apr 22, 2022

Ping... I have a few other patches to submit which will fail CI without this one-liner.

@SuperSandro2000 SuperSandro2000 merged commit 294ed1b into NixOS:master Apr 25, 2022
@ghost ghost deleted the lib-systems-inspect-powerpc branch January 23, 2024 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant