Skip to content

aws-c-common: Mark big-endian platforms as unsupported#425407

Merged
roberth merged 2 commits into
NixOS:masterfrom
OPNA2608:fix/aws-c-common-no-bigendian-support
Jul 15, 2025
Merged

aws-c-common: Mark big-endian platforms as unsupported#425407
roberth merged 2 commits into
NixOS:masterfrom
OPNA2608:fix/aws-c-common-no-bigendian-support

Conversation

@OPNA2608
Copy link
Copy Markdown
Contributor

awslabs/aws-c-common#1175

And only enable withAWS in the Nix builds when aws-c-common is available (this doesn't propagate through dependencies, so aws-sdk-cpp is available according to lib.meta.availableOn).

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • 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/)
  • Nixpkgs 25.11 Release Notes (or backporting 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 25.05 NixOS Release notes)
    • (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, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci 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 Jul 15, 2025
@OPNA2608 OPNA2608 force-pushed the fix/aws-c-common-no-bigendian-support branch from b8e0731 to c7801e4 Compare July 15, 2025 12:45
@OPNA2608 OPNA2608 changed the base branch from staging to master July 15, 2025 14:07
@nixpkgs-ci nixpkgs-ci Bot closed this Jul 15, 2025
@nixpkgs-ci nixpkgs-ci Bot reopened this Jul 15, 2025
@OPNA2608 OPNA2608 added the 6.topic: exotic Exotic hardware or software platform label Jul 15, 2025
lib.meta.availableOn stdenv.hostPlatform aws-c-common
&& !enableStatic
&& (stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isDarwin),
aws-c-common,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This aws-c-common is only here to support the withAWS default. That's ok.

@roberth
Copy link
Copy Markdown
Member

roberth commented Jul 15, 2025

Thank you

@roberth roberth merged commit 14defdd into NixOS:master Jul 15, 2025
47 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: exotic Exotic hardware or software platform 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.

2 participants