@@ -530,11 +530,12 @@ final: prev: {
530530
531531 coverageReport = haskellLib.coverageReport (rec {
532532 name = package.identifier.name + "-" + package.identifier.version;
533− inherit (components) library;
533+ library = if components ? library then components.library else null;
534534 checks = final.lib.filter (final.lib.isDerivation) (final.lib.attrValues package'.checks);
535535 mixLibraries = final.lib.concatMap
536536 (pkg: final.lib.optional (pkg.components ? library) pkg.components.library)
537537 (final.lib.attrValues (haskellLib.selectProjectPackages project.hsPkgs));
538+ ghc = project.pkg-set.config.ghc.package;
538539 });
539540 }
540541 ) rawProject.hsPkgs