Skip to content

Commit

Permalink
Merge pull request #112096 from r-burns/musl-nix
Browse files Browse the repository at this point in the history
nix: fix build on musl platforms
  • Loading branch information
SuperSandro2000 authored Feb 23, 2021
2 parents 8e1b819 + 7426b18 commit 40bc4f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pkgs/development/libraries/aws-c-common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ stdenv.mkDerivation rec {
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ orivej eelco ];
# https://github.com/awslabs/aws-c-common/issues/754
broken = stdenv.hostPlatform.isMusl;
};
}
2 changes: 1 addition & 1 deletion pkgs/tools/package-management/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ common =
, stateDir
, confDir
, withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp
, withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
, withAWS ? !enableStatic && !stdenv.hostPlatform.isMusl && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp
, enableStatic ? stdenv.hostPlatform.isStatic
, name, suffix ? "", src
, patches ? [ ]
Expand Down

0 comments on commit 40bc4f7

Please sign in to comment.