Skip to content

Conversation

@FliegendeWurst
Copy link
Member

This package's CMake setup conflates building and running tests, so we must disable test building explicitly for cross builds.

Note: I haven't checked whether the checkPhase does anything useful here, maybe it runs more tests?

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux (cross)
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 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.

This package's CMake setup conflates building and running tests,
so we must disable test building explicitly for cross builds.
@github-actions github-actions bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Apr 16, 2025
@nix-owners nix-owners bot requested a review from dotlambda April 16, 2025 06:32
@ofborg ofborg bot added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Apr 17, 2025
@uninsane uninsane merged commit 641094a into NixOS:master Apr 19, 2025
23 of 27 checks passed
khabdrick pushed a commit to khabdrick/nixpkgs that referenced this pull request Apr 21, 2025
* taskflow: fix cross build

This package's CMake setup conflates building and running tests,
so we must disable test building explicitly for cross builds.

* taskflow: convert to finalAttrs pattern
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 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants