Skip to content

Commit

Permalink
liblapack: fix improper prefix usage
Browse files Browse the repository at this point in the history
  • Loading branch information
chayleaf committed Aug 12, 2023
1 parent cb8d61c commit 0e4c24d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/science/math/liblapack/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, gfortran
, cmake
, shared ? true
Expand All @@ -20,6 +21,13 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-AYD78u70y8cY19hmM/aDjQEzxO8u9lPWhCFxRe5cqXI=";
};

patches = [
(fetchpatch {
url = "https://github.com/Reference-LAPACK/lapack/pull/893/commits/d5ba059159758313d793e3e61d4142b1f79f61c9.patch";
hash = "sha256-YWZhdj1GBcvOKXGAwAvEiRZ4qgfDvluPtW7gH0k/EY0=";
})
];

nativeBuildInputs = [ gfortran cmake ];

# Configure stage fails on aarch64-darwin otherwise, due to either clang 11 or gfortran 10.
Expand Down

0 comments on commit 0e4c24d

Please sign in to comment.