diff --git a/pkgs/by-name/ar/arpack/package.nix b/pkgs/by-name/ar/arpack/package.nix index dc0fb8d89efa..931fd42da9c6 100644 --- a/pkgs/by-name/ar/arpack/package.nix +++ b/pkgs/by-name/ar/arpack/package.nix @@ -2,7 +2,7 @@ , gfortran, blas, lapack, eigen , useMpi ? false , mpi -, openssh +, mpiCheckPhaseHook , igraph , useAccel ? false #use Accelerate framework on darwin }: @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: { blas lapack ]) ++ lib.optional useMpi mpi; - nativeCheckInputs = lib.optional useMpi openssh; + nativeCheckInputs = lib.optional useMpi mpiCheckPhaseHook; checkInputs = # work around for `ld: file not found: @rpath/libquadmath.0.dylib` # which occurs due to an mpi test linking with `-flat_namespace` @@ -41,7 +41,6 @@ stdenv.mkDerivation (finalAttrs: { # a couple tests fail when run in parallel doCheck = true; enableParallelChecking = false; - __darwinAllowLocalNetworking = true; env = lib.optionalAttrs useAccel { # Without these flags some tests will fail / segfault when using Accelerate