{ stdenv , slurm , garlicTools }: { nextStage , cpuBind , nixPrefix , srunOptions ? "" , output ? "stdout.log" , error ? "stderr.log" }: with garlicTools; stdenv.mkDerivation rec { name = "srun"; phases = [ "installPhase" ]; preferLocalBuild = true; dontPatchShebangs = true; installPhase = '' cat > $out <