anchor.diff:                   -fopenmp -ftree-vectorize -funroll-loops \
                    -I${libxc}/include -I${libxsmm}/include \
                    -I${libint2}/include
  -    LIBS       = -lfftw3 -lfftw3_threads -lscalapack -lopenblas \
  +    LIBS       = -lfftw3 -lfftw3_threads -lscalapack -lblas -llapack \
                    -lxcf03 -lxc -lxsmmf -lxsmm -lsymspg \
                    -lint2 -lstdc++ \
                    -fopenmp
  
positive.code: { stdenv, fetchFromGitHub, python, gfortran, openblasCompat
  , fftw, libint2, libxc, mpi, gsl, scalapack, openssh, makeWrapper
  , libxsmm, spglib, which
  , optAVX ? false
  } :
  
  let
    version = "7.1.0";
  
negative.code:   };
  
    nativeBuildInputs = [ python which openssh makeWrapper ];
    buildInputs = [ gfortran fftw gsl libint2 libxc libxsmm  spglib blas lapack mpi scalapack ];
  
    makeFlags = [
      "ARCH=${arch}"
  