diff --git a/pkgs/by-name/su/superlu/package.nix b/pkgs/by-name/su/superlu/package.nix index a1ea62050191..6b2455c92f37 100644 --- a/pkgs/by-name/su/superlu/package.nix +++ b/pkgs/by-name/su/superlu/package.nix @@ -45,11 +45,9 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" true) (lib.cmakeBool "enable_fortran" true) - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ # prevent cmake from using Accelerate, which causes tests to segfault # https://github.com/xiaoyeli/superlu/issues/155 - "-DBLA_VENDOR=Generic" + (lib.cmakeFeature "BLA_VENDOR" "Generic") ]; doCheck = true;