Files

22 lines
368 B
Nix

{
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