ssr: fix build

ssr uses the deprecated get_generic_category() in ./configure
pass the flag enabling that to boost
This commit is contained in:
Symphorien Gibol 2018-03-11 22:48:45 +01:00
parent 4ee9d05086
commit 7ba5a94e35

View File

@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
# Without it doesn't find all of the boost libraries. # Without it doesn't find all of the boost libraries.
BOOST_LIB_DIR="${boost}/lib"; BOOST_LIB_DIR="${boost}/lib";
# uses the deprecated get_generic_category() in boost_system
NIX_CFLAGS_COMPILE="-DBOOST_SYSTEM_ENABLE_DEPRECATED=1";
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";