Skip to content

Commit

Permalink
msgpack-cxx: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
linsui committed Dec 28, 2024
1 parent 9e09ce2 commit e09a0a8
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 e09a0a8

Please sign in to comment.