@@ -515,6 +515,16 @@ let
515 echo The test ${package.identifier.name}.components.tests.${componentId.cname} was built. To run the test build ${package.identifier.name}.checks.${componentId.cname}.
515 echo The test ${package.identifier.name}.components.tests.${componentId.cname} was built. To run the test build ${package.identifier.name}.checks.${componentId.cname}.
518+ doInstallCheck = true;
519+ installCheckPhase = lib.optionalString (haskellLib.isLibrary componentId) ''
520+ if test -n "$(shopt -s nullglob; echo $out/package.conf.d/${name}-*.conf)"; then
521+ echo $out/package.conf.d/${name}-*.conf " is present"
523+ echo "ERROR: $out/package.conf.d/${name}-*.conf was not created"
518 shellHook = ''
528 shellHook = ''
519 export PATH="${shellWrappers}/bin:$PATH"
529 export PATH="${shellWrappers}/bin:$PATH"
520 ${shellHookApplied}
530 ${shellHookApplied}