Merge pull request #112096 from r-burns/musl-nix

nix: fix build on musl platforms

authored by

Sandro and committed by
GitHub
40bc4f78 8e1b8195

+3 -1
+2
pkgs/development/libraries/aws-c-common/default.nix
··· 26 26 license = licenses.asl20; 27 27 platforms = platforms.unix; 28 28 maintainers = with maintainers; [ orivej eelco ]; 29 + # https://github.com/awslabs/aws-c-common/issues/754 30 + broken = stdenv.hostPlatform.isMusl; 29 31 }; 30 32 }
+1 -1
pkgs/tools/package-management/nix/default.nix
··· 22 22 , stateDir 23 23 , confDir 24 24 , withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp 25 - , withAWS ? !enableStatic && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp 25 + , withAWS ? !enableStatic && !stdenv.hostPlatform.isMusl && (stdenv.isLinux || stdenv.isDarwin), aws-sdk-cpp 26 26 , enableStatic ? stdenv.hostPlatform.isStatic 27 27 , name, suffix ? "", src 28 28 , patches ? [ ]