diff options
author | Robin Gloster <mail@glob.in> | 2017-09-28 12:58:25 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-09-28 13:01:34 +0200 |
commit | c2ce38473b48e3249112698ee89473a662cd50a9 (patch) | |
tree | e2158714578b57301d996431604f2008c4e2f009 /pkgs/applications/networking | |
parent | 49e9a26e77b05f26c8d273a4c9836e919ba5878f (diff) | |
download | nixlib-c2ce38473b48e3249112698ee89473a662cd50a9.tar nixlib-c2ce38473b48e3249112698ee89473a662cd50a9.tar.gz nixlib-c2ce38473b48e3249112698ee89473a662cd50a9.tar.bz2 nixlib-c2ce38473b48e3249112698ee89473a662cd50a9.tar.lz nixlib-c2ce38473b48e3249112698ee89473a662cd50a9.tar.xz nixlib-c2ce38473b48e3249112698ee89473a662cd50a9.tar.zst nixlib-c2ce38473b48e3249112698ee89473a662cd50a9.zip |
mesos: use static protobuf libraries
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/cluster/mesos/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/mesos/default.nix b/pkgs/applications/networking/cluster/mesos/default.nix index 712b1376845b..116e74326908 100644 --- a/pkgs/applications/networking/cluster/mesos/default.nix +++ b/pkgs/applications/networking/cluster/mesos/default.nix @@ -68,6 +68,8 @@ in stdenv.mkDerivation rec { --subst-var-by chown ${coreutils}/bin/chown substituteInPlace 3rdparty/stout/Makefile.am \ + --replace "-lprotobuf" \ + "${pythonProtobuf.protobuf}/lib/libprotobuf.a" substituteInPlace 3rdparty/stout/include/stout/os/posix/fork.hpp \ --subst-var-by sh ${bash}/bin/bash @@ -94,6 +96,8 @@ in stdenv.mkDerivation rec { --subst-var-by mesos-resolve $out/bin/mesos-resolve substituteInPlace src/python/native_common/ext_modules.py.in \ + --replace "-lprotobuf" \ + "${pythonProtobuf.protobuf}/lib/libprotobuf.a" substituteInPlace src/slave/containerizer/mesos/isolators/gpu/volume.cpp \ --subst-var-by cp ${coreutils}/bin/cp \ @@ -117,6 +121,8 @@ in stdenv.mkDerivation rec { substituteInPlace src/Makefile.am \ --subst-var-by mavenRepo ${mavenRepo} \ + --replace "-lprotobuf" \ + "${pythonProtobuf.protobuf}/lib/libprotobuf.a" '' + lib.optionalString stdenv.isLinux '' |