Skip to content

Commit

Permalink
msgpack-cxx: fix build (#368758)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Dec 28, 2024
2 parents d68604a + e09a0a8 commit d568faa
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pkgs/by-name/ms/msgpack-cxx/package.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, boost
, zlib
{
lib,
stdenv,
fetchFromGitHub,
cmake,
boost,
zlib,
}:

stdenv.mkDerivation (finalAttrs: {
Expand All @@ -29,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: {

cmakeFlags = [
"-DMSGPACK_BUILD_DOCS=OFF" # docs are not installed even if built
"-DMSGPACK_CXX20=ON"
] ++ lib.optional finalAttrs.finalPackage.doCheck "-DMSGPACK_BUILD_TESTS=ON";

checkInputs = [
Expand Down

0 comments on commit d568faa

Please sign in to comment.