@@ -33,6 +33,9 @@ in stdenv.mkDerivation rec {
3333 # Force OpenMPI to use g++ in PATH.
3434 OMPI_CXX = "g++";
3535
36+ # Uses some deprecated tensorflow functions
37+ NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
38+
3639 buildInputs = [ openblas opencv3 libzip boost protobuf mpi ]
3740 ++ lib.optional cudaSupport cudatoolkit
3841 ++ lib.optional cudnnSupport cudnn;
@@ -40,7 +43,7 @@ in stdenv.mkDerivation rec {
4043 configureFlags = [
4144 "--with-opencv=${opencv3}"
4245 "--with-libzip=${libzip.dev}"
43− "--with-openblas=${openblas}"
46+ "--with-openblas=${openblas.dev}"
4447 "--with-boost=${boost.dev}"
4548 "--with-protobuf=${protobuf}"
4649 "--with-mpi=${mpi}"