···77, boost169
88, pinnedBoost ? boost169
99, llvmPackages
1010-, llvmPackages_5
1110, gmp
1211, emacs
1312, jre_headless
···42414342 nativeBuildInputs = [ cmake makeWrapper unzip ];
44434545- # We cannot compile with both gcc and clang, but we need clang during the
4646- # process, so we compile everything with clang.
4747- # BUT, we need clang4 for parsing, and a more recent clang for compiling.
4844 cmakeFlags = [
4949- "-DCMAKE_CXX_COMPILER=${llvmPackages.clang}/bin/clang++"
5050- "-DCMAKE_C_COMPILER=${llvmPackages.clang}/bin/clang"
5145 "-DBoost_USE_STATIC_LIBS=OFF"
5246 "-DMOZART_BOOST_USE_STATIC_LIBS=OFF"
5353- "-DCMAKE_PROGRAM_PATH=${llvmPackages_5.clang}/bin"
5454- # Rationale: Nix's cc-wrapper needs to see a compile flag (like -c) to
5555- # infer that it is not a linking call, and stop trashing the command line
5656- # with linker flags.
5757- # As it does not recognise -emit-ast, we pass -c immediately overridden
5858- # by -emit-ast.
5959- # The remaining is just the default flags that we cannot reuse and need
6060- # to repeat here.
6161- "-DMOZART_GENERATOR_FLAGS='-c;-emit-ast;--std=c++0x;-Wno-invalid-noreturn;-Wno-return-type;-Wno-braced-scalar-init'"
6247 # We are building with clang, as nix does not support having clang and
6348 # gcc together as compilers and we need clang for the sources generation.
6449 # However, clang emits tons of warnings about gcc's atomic-base library.
···71567257 buildInputs = [
7358 pinnedBoost
7474- llvmPackages_5.llvm
7575- llvmPackages_5.clang
7676- llvmPackages_5.clang-unwrapped
7759 gmp
7860 emacs
7961 jre_headless