@@ -82,7 +82,7 @@ in recurseIntoAttrs ({
82
82
fi
83
83
}
84
84
85
- ${ concatStringsSep " \n " ( map ( project : ''
85
+ ${ let check = project : inplaceSuffix : ''
86
86
pkga_basedir="${ project . hsPkgs . pkga . coverageReport } /share/hpc/vanilla"
87
87
findFileExistsNonEmpty $pkga_basedir/mix/pkga-0.1.0.0* "PkgA.mix"
88
88
dirExists "$pkga_basedir/tix/pkga-0.1.0.0"
@@ -106,19 +106,23 @@ in recurseIntoAttrs ({
106
106
107
107
project_basedir="${ project . projectCoverageReport } /share/hpc/vanilla"
108
108
fileExistsNonEmpty "$project_basedir/html/index.html"
109
- dirExists "$project_basedir/html/pkga-0.1.0.0-inplace "
110
- dirExists "$project_basedir/html/pkgb-0.1.0.0-inplace "
109
+ dirExists "$project_basedir/html/pkga-0.1.0.0${ inplaceSuffix } "
110
+ dirExists "$project_basedir/html/pkgb-0.1.0.0${ inplaceSuffix } "
111
111
findFileExistsNonEmpty "$project_basedir/mix/" "PkgA.mix"
112
112
findFileExistsNonEmpty "$project_basedir/mix/" "PkgB.mix"
113
113
findFileExistsNonEmpty "$project_basedir/mix/" "ConduitExample.mix"
114
114
dirExists "$project_basedir/tix/all"
115
115
fileExistsNonEmpty "$project_basedir/tix/all/all.tix"
116
- dirExists "$project_basedir/tix/pkga-0.1.0.0-inplace "
117
- dirExists "$project_basedir/tix/pkgb-0.1.0.0-inplace "
118
- fileExistsNonEmpty "$project_basedir/tix/pkgb-0.1.0.0-inplace /pkgb-0.1.0.0-inplace .tix"
116
+ dirExists "$project_basedir/tix/pkga-0.1.0.0${ inplaceSuffix } "
117
+ dirExists "$project_basedir/tix/pkgb-0.1.0.0${ inplaceSuffix } "
118
+ fileExistsNonEmpty "$project_basedir/tix/pkgb-0.1.0.0${ inplaceSuffix } /pkgb-0.1.0.0${ inplaceSuffix } .tix"
119
119
dirExists "$project_basedir/tix/pkgb-test-tests${ crossSuffix } -0.1.0.0-check${ crossSuffix } "
120
120
fileExistsNonEmpty "$project_basedir/tix/pkgb-test-tests${ crossSuffix } -0.1.0.0-check${ crossSuffix } /tests${ exeExt } .tix"
121
- '' ) ( [ cabalProj ] ++ optional ( compiler-nix-name == "ghc984" ) stackProj ) ) }
121
+ '' ;
122
+ in ''
123
+ ${ check cabalProj "-inplace" }
124
+ ${ optionalString ( compiler-nix-name == "ghc984" ) ( check stackProj "" ) }
125
+ '' }
122
126
123
127
touch $out
124
128
'' ;
0 commit comments