blob: 8fc6081e2e14c468f2f015f26d7e3ad12bccb313 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{
lib,
makeSetupHook,
stdenv,
checkPhaseThreadLimitHook,
}:
makeSetupHook {
name = "mpi-checkPhase-hook";
substitutions = {
iface = if stdenv.hostPlatform.isDarwin then "lo0" else "lo";
topology = ./topology.xml;
};
propagatedNativeBuildInputs = [
checkPhaseThreadLimitHook
];
meta.license = lib.licenses.mit;
} ./mpi-check-hook.sh
|