anchor.diff:    version = "3.9.0";
   in
   
  -stdenv.mkDerivation {
  +stdenv.mkDerivation rec {
     pname = "liblapack";
     inherit version;
   
  
positive.code: 
    doCheck = true;
  
    meta = with lib; {
      inherit version;
      description = "Linear Algebra PACKage";
  
negative.code: 
    nativeBuildInputs = [ gfortran cmake ];
  
    # Configure stage fails on aarch64-darwin otherwise, due to either clang 11 or gfortran 10.
    hardeningDisable = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ "stackprotector" ];
  
    cmakeFlags = [
      "-DCMAKE_Fortran_FLAGS=-fPIC"
      "-DLAPACKE=ON"
  