Commit 17277615 authored by Markus Kowalewski's avatar Markus Kowalewski
Browse files

p4est-sc: remove openssh from checkInputs

Is taken care of by mpiCheckPhaseHook
parent b8b2c84d
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, mpiCheckPhaseHook
, autoreconfHook, pkg-config
, p4est-sc-debugEnable ? true, p4est-sc-mpiSupport ? true
, mpi, openssh, zlib
, mpi, zlib
}:

let
  dbg = lib.optionalString debugEnable "-dbg";
  debugEnable = p4est-sc-debugEnable;
  mpiSupport = p4est-sc-mpiSupport;
  isOpenmpi = mpiSupport && mpi.pname == "openmpi";
in
stdenv.mkDerivation {
  pname = "p4est-sc${dbg}";
@@ -24,9 +23,7 @@ stdenv.mkDerivation {

  strictDeps = true;
  nativeBuildInputs = [ autoreconfHook pkg-config ];
  propagatedNativeBuildInputs = lib.optional mpiSupport mpi
    ++ lib.optional isOpenmpi openssh
  ;
  propagatedNativeBuildInputs = lib.optional mpiSupport mpi ;
  propagatedBuildInputs = [ zlib ];
  inherit debugEnable mpiSupport;

@@ -49,7 +46,6 @@ stdenv.mkDerivation {

  nativeCheckInputs = lib.optionals mpiSupport [
    mpiCheckPhaseHook
    openssh
  ];

  # disallow Darwin checks due to prototype incompatibility of qsort_r