anchor.diff:    buildInputs = [ gfortran texinfo boost ];
   
     configureFlags =
  -    [ "--enable-shared"
  +    [
  +      "--enable-shared"
         "--disable-static"
         "--enable-fortran"
         "--enable-optimize"
  
positive.code: { stdenv, lib, fetchFromGitHub, pkg-config, gfortran, texinfo, python, boost
  # Select SIMD alignment width (in bytes) for vectorization.
  , simdWidth ? 1
  # Pad arrays to simdWidth by default?
  # Note: Only useful if simdWidth > 1
  , enablePadding ? false
  # Activate serialization through Boost.Serialize?
  , enableSerialization ? true
  # Activate test-suite?
  # WARNING: Some of the tests require up to 1700MB of memory to compile.
  , doCheck ? true
  }:
  
  
negative.code:     ] ++ optional enablePadding "--enable-array-length-padding"
      ++ optional enableSerialization "--enable-serialization"
      ++ optional stdenv.is64bit "--enable-64bit";
  
    # skip broken library name detection
    ax_boost_user_serialization_lib = lib.optionalString stdenv.isDarwin "boost_serialization";
  
    enableParallelBuilding = true;
  
  