lol

Merge pull request #18275 from taktoa/patch-1

libmsgpack: fixed mingw32 cross-build

authored by

Michael Raskin and committed by
GitHub
51a7553e af3a535f

+6 -1
+6 -1
pkgs/development/libraries/libmsgpack/generic.nix
··· 8 8 9 9 inherit src patches; 10 10 11 - buildInputs = [ cmake ]; 11 + nativeBuildInputs = [ cmake ]; 12 + 13 + crossAttrs = { 14 + } // stdenv.lib.optionalAttrs (stdenv.cross.libc == "msvcrt") { 15 + cmakeFlags = "-DMSGPACK_BUILD_EXAMPLES=OFF -DCMAKE_SYSTEM_NAME=Windows"; 16 + }; 12 17 13 18 meta = with stdenv.lib; { 14 19 description = "MessagePack implementation for C and C++";