anchor.diff:      owner = "DrTimothyAldenDavis";
       repo = "SuiteSparse";
       rev = "v${version}";
  -    sha256 = "1imndff7yygjrbbrcscsmirdi8w0lkwj5dbhydxmf7lklwn4j3q6";
  +    sha256 = "0qjlyfxs8s48rs63c2fzspisgq1kk4bwkgnhmh125hgkdhrq2w1c";
     };
   
     nativeBuildInputs = [
  -    gnum4
     ] ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
   
  +  # Use compatible indexing for lapack and blas used
     buildInputs = [
       blas lapack
       metis
       gfortran.cc.lib
  +    gmp
  +    mpfr
     ] ++ stdenv.lib.optional enableCuda cudatoolkit;
   
     preConfigure = ''
  
positive.code:     "INSTALL=${placeholder "out"}"
      "INSTALL_INCLUDE=${placeholder "dev"}/include"
      "JOBS=$(NIX_BUILD_CORES)"
      "BLAS=-lblas"
      "LAPACK=-llapack"
      "MY_METIS_LIB=-lmetis"
    ] ++ stdenv.lib.optionals blas.isILP64 [
      "CFLAGS=-DBLAS64"
  
negative.code:     "CUDA_PATH=${cudatoolkit}"
      "CUDART_LIB=${cudatoolkit.lib}/lib/libcudart.so"
      "CUBLAS_LIB=${cudatoolkit}/lib/libcublas.so"
    ] ++ stdenv.lib.optionals stdenv.isDarwin [
      # Unless these are set, the build will attempt to use `Accelerate` on darwin, see:
      # https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/v5.8.1/SuiteSparse_config/SuiteSparse_config.mk#L368
      "BLAS=-lblas"
      "LAPACK=-llapack"
    ]
    ;
  
    buildFlags = [
      # Build individual shared libraries, not demos
  