Skip to content

airspy, soapyairspy: fix build with cmake 4#450305

Merged
leona-ya merged 2 commits intoNixOS:masterfrom
cyclic-pentane:airspy-fix
Oct 9, 2025
Merged

airspy, soapyairspy: fix build with cmake 4#450305
leona-ya merged 2 commits intoNixOS:masterfrom
cyclic-pentane:airspy-fix

Conversation

@cyclic-pentane
Copy link
Member

@cyclic-pentane cyclic-pentane commented Oct 9, 2025

Things done

Tracking issue: #445447

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

Backports the commits that raise the minimum cmake version to
3.10, so the newest version of cmake doesn't complain about having
removed cmake < 3.5 compatibility anymore.
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels Oct 9, 2025
@nix-owners nix-owners bot requested a review from markuskowa October 9, 2025 14:23
@leona-ya leona-ya added this pull request to the merge queue Oct 9, 2025
Merged via the queue into NixOS:master with commit 741f65c Oct 9, 2025
30 of 34 checks passed
cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [ "-DINSTALL_UDEV_RULES=ON" ];
cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [
"-DINSTALL_UDEV_RULES=ON"
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"

Wouldn’t this line be redundant, since the last patch already sets it right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants