summary refs log tree commit diff
path: root/pkgs/development/libraries/protobuf/generic-v3.nix
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-09-28 12:57:54 +0200
committerRobin Gloster <mail@glob.in>2017-09-28 13:01:34 +0200
commit49e9a26e77b05f26c8d273a4c9836e919ba5878f (patch)
tree61cfa529d5a6da359c0d2d6aad3c08a1b01dac9e /pkgs/development/libraries/protobuf/generic-v3.nix
parentdabb296c76dea4446665e47990653de909ac054f (diff)
downloadnixpkgs-49e9a26e77b05f26c8d273a4c9836e919ba5878f.tar
nixpkgs-49e9a26e77b05f26c8d273a4c9836e919ba5878f.tar.gz
nixpkgs-49e9a26e77b05f26c8d273a4c9836e919ba5878f.tar.bz2
nixpkgs-49e9a26e77b05f26c8d273a4c9836e919ba5878f.tar.lz
nixpkgs-49e9a26e77b05f26c8d273a4c9836e919ba5878f.tar.xz
nixpkgs-49e9a26e77b05f26c8d273a4c9836e919ba5878f.tar.zst
nixpkgs-49e9a26e77b05f26c8d273a4c9836e919ba5878f.zip
protobuf: build static libraries
mesos needs them
Diffstat (limited to 'pkgs/development/libraries/protobuf/generic-v3.nix')
-rw-r--r--pkgs/development/libraries/protobuf/generic-v3.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/protobuf/generic-v3.nix b/pkgs/development/libraries/protobuf/generic-v3.nix
index 44ecdcb2f65..b3249aae9b1 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";