From 49e9a26e77b05f26c8d273a4c9836e919ba5878f Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Thu, 28 Sep 2017 12:57:54 +0200 Subject: [PATCH] protobuf: build static libraries mesos needs them --- pkgs/development/libraries/protobuf/generic-v3.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/protobuf/generic-v3.nix b/pkgs/development/libraries/protobuf/generic-v3.nix index 44ecdcb2f659..b3249aae9b17 100644 --- a/pkgs/development/libraries/protobuf/generic-v3.nix +++ b/pkgs/development/libraries/protobuf/generic-v3.nix @@ -34,6 +34,8 @@ stdenv.mkDerivation rec { doCheck = true; + dontDisableStatic = true; + NIX_CFLAGS_COMPILE = with stdenv.lib; # gcc before 6 doesn't know this option optionalString (hasPrefix "gcc-6" stdenv.cc.cc.name) "-Wno-error=misleading-indentation";