Skip to content

libopenmpt: doCheck only if canExecute#232305

Merged
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
OPNA2608:fix/libopenmpt_doCheck
May 25, 2023
Merged

libopenmpt: doCheck only if canExecute#232305
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
OPNA2608:fix/libopenmpt_doCheck

Conversation

@OPNA2608
Copy link
Contributor

Description of changes

Noticed for #232304 that this unconditionally enables doCheck, when it should really only do it if buildPlatform can execute hostPlatform.

This should hopefully not cause any mass-rebuilds (since buildPlatform == hostPlatform unless doing cross) and be fine for master as-is.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • 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/)
  • 23.05 Release Notes (or backporting 22.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
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels May 16, 2023
And optional -> optionals style for libpulseaudio
@OPNA2608 OPNA2608 force-pushed the fix/libopenmpt_doCheck branch from 52f21da to 3e2f831 Compare May 20, 2023 21:13
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/2246

@github-actions
Copy link
Contributor

Successfully created backport PR for release-23.05:

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: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants