Skip to content

Commit 1727761

Browse files
committed
p4est-sc: remove openssh from checkInputs
Is taken care of by mpiCheckPhaseHook
1 parent b8b2c84 commit 1727761

File tree

1 file changed

+2
-6
lines changed
  • pkgs/development/libraries/science/math/p4est-sc

1 file changed

+2
-6
lines changed

pkgs/development/libraries/science/math/p4est-sc/default.nix

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{ lib, stdenv, fetchFromGitHub, mpiCheckPhaseHook
22
, autoreconfHook, pkg-config
33
, p4est-sc-debugEnable ? true, p4est-sc-mpiSupport ? true
4-
, mpi, openssh, zlib
4+
, mpi, zlib
55
}:
66

77
let
88
dbg = lib.optionalString debugEnable "-dbg";
99
debugEnable = p4est-sc-debugEnable;
1010
mpiSupport = p4est-sc-mpiSupport;
11-
isOpenmpi = mpiSupport && mpi.pname == "openmpi";
1211
in
1312
stdenv.mkDerivation {
1413
pname = "p4est-sc${dbg}";
@@ -24,9 +23,7 @@ stdenv.mkDerivation {
2423

2524
strictDeps = true;
2625
nativeBuildInputs = [ autoreconfHook pkg-config ];
27-
propagatedNativeBuildInputs = lib.optional mpiSupport mpi
28-
++ lib.optional isOpenmpi openssh
29-
;
26+
propagatedNativeBuildInputs = lib.optional mpiSupport mpi ;
3027
propagatedBuildInputs = [ zlib ];
3128
inherit debugEnable mpiSupport;
3229

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

5047
nativeCheckInputs = lib.optionals mpiSupport [
5148
mpiCheckPhaseHook
52-
openssh
5349
];
5450

5551
# disallow Darwin checks due to prototype incompatibility of qsort_r

0 commit comments

Comments
 (0)