summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-11-07 18:54:55 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-11-07 18:55:12 +0100
commit7e571b9a9910d56356aadd8f11c6a4518de9410e (patch)
treeda18e8c9fe32b3c20883d087afb56b4fa02a6813 /pkgs
parentefc46c2836ed340e82b8b8bd0c3a45aa48b06988 (diff)
mesos: fixup includes with glibc-2.26
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/cluster/mesos/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/mesos/default.nix b/pkgs/applications/networking/cluster/mesos/default.nix
index 116e74326908..909242273930 100644
--- a/pkgs/applications/networking/cluster/mesos/default.nix
+++ b/pkgs/applications/networking/cluster/mesos/default.nix
@@ -60,6 +60,8 @@ in stdenv.mkDerivation rec {
"CXXFLAGS=-O2 -Wno-error=strict-aliasing"
)
+ substituteInPlace 3rdparty/stout/include/stout/jsonify.hpp \
+ --replace '<xlocale.h>' '<locale.h>'
# Fix cases where makedev(),major(),minor() are referenced through
# <sys/types.h> instead of <sys/sysmacros.h>
sed 1i'#include <sys/sysmacros.h>' -i src/linux/fs.cpp