1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

aws-sdk-cpp: disable tests on cross

This commit is contained in:
Will Dietz 2018-01-28 09:46:12 +09:00
parent 5a802afb75
commit ee4f04dcd7

View file

@ -33,6 +33,7 @@ in stdenv.mkDerivation rec {
cmakeFlags =
lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DENABLE_TESTING=OFF"
++ lib.optional (apis != ["*"])
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";