@@ -530,11 +530,12 @@ final: prev: {
531 coverageReport = haskellLib.coverageReport (rec {
531 coverageReport = haskellLib.coverageReport (rec {
532 name = package.identifier.name + "-" + package.identifier.version;
532 name = package.identifier.name + "-" + package.identifier.version;
533− inherit (components) library;
533+ library = if components ? library then components.library else null;
534 checks = final.lib.filter (final.lib.isDerivation) (final.lib.attrValues package'.checks);
534 checks = final.lib.filter (final.lib.isDerivation) (final.lib.attrValues package'.checks);
535 mixLibraries = final.lib.concatMap
535 mixLibraries = final.lib.concatMap
536 (pkg: final.lib.optional (pkg.components ? library) pkg.components.library)
536 (pkg: final.lib.optional (pkg.components ? library) pkg.components.library)
537 (final.lib.attrValues (haskellLib.selectProjectPackages project.hsPkgs));
537 (final.lib.attrValues (haskellLib.selectProjectPackages project.hsPkgs));
538+ ghc = project.pkg-set.config.ghc.package;
540 ) rawProject.hsPkgs
541 ) rawProject.hsPkgs