1{ 2 callPackage, 3 makeSetupHook, 4 stdenv, 5}: 6 7makeSetupHook { 8 name = "mpi-checkPhase-hook"; 9 10 substitutions = { 11 iface = if stdenv.hostPlatform.isDarwin then "lo0" else "lo"; 12 topology = ./topology.xml; 13 }; 14} ./mpi-check-hook.sh