Skip to content

libstore: make withAWS depend on aws-c-common availability#15021

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
OPNA2608:fix/libstore-ppc64
Jan 20, 2026
Merged

libstore: make withAWS depend on aws-c-common availability#15021
Ericson2314 merged 1 commit intoNixOS:masterfrom
OPNA2608:fix/libstore-ppc64

Conversation

@OPNA2608
Copy link
Contributor

From Nixpkgs: NixOS/nixpkgs#481712

Motivation

error: Package ‘aws-c-common-0.12.4’ in /home/puna/Development/nixpkgs/pkgs/by-name/aw/aws-c-common/package.nix:56 is not available on the requested hostPlatform:
  hostPlatform.system = "powerpc64-linux"

Context

NixOS/nixpkgs#481712
NixOS/nixpkgs#425407


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Comment on lines +28 to +30
stdenv.hostPlatform == stdenv.buildPlatform
&& (stdenv.isLinux || stdenv.isDarwin)
&& lib.meta.availableOn stdenv.hostPlatform aws-c-common,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
stdenv.hostPlatform == stdenv.buildPlatform
&& (stdenv.isLinux || stdenv.isDarwin)
&& lib.meta.availableOn stdenv.hostPlatform aws-c-common,
lib.meta.availableOn stdenv.hostPlatform aws-c-common,

what if we just did that? I think the other stuff was just a crude proxy for this anyways --- we can say what we really mean instead!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you say that that's what it was supposed to mean, then sure.

Copy link
Member

Choose a reason for hiding this comment

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

Great thanks, and would you mind replicating this back in Nixpkgs, too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do.

@Ericson2314 Ericson2314 added this pull request to the merge queue Jan 20, 2026
Merged via the queue into NixOS:master with commit 490f6ee Jan 20, 2026
14 checks passed
@xokdvium
Copy link
Contributor

Has this borked nixStatic? https://hydra.nixos.org/build/319583921/nixlog/1

@Ericson2314
Copy link
Member

Ah better skip for now, good call.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants