on iko/ghcjs-patch-master help sign in
dontRecurseIntoAttrs was only recently fixed (#666)
e2a3995Hamish Mackenzie
overlays/haskell.nix+2−2
@@ -477,13 +477,13 @@ final: prev: {
477 # a `.package` attribute on the components.
477 # a `.package` attribute on the components.
478 addProjectAndPackageAttrs = rawProject:
478 addProjectAndPackageAttrs = rawProject:
479 final.lib.fix (project':
479 final.lib.fix (project':
480− let project = final.lib.dontRecurseIntoAttrs project';
480+ let project = project' // { recurseForDerivations = false; };
481 in rawProject // {
481 in rawProject // {
482 hsPkgs = (final.lib.mapAttrs (n: package':
482 hsPkgs = (final.lib.mapAttrs (n: package':
483 if package' == null
483 if package' == null
484 then null
484 then null
485 else
485 else
486− let package = final.lib.dontRecurseIntoAttrs package';
486+ let package = package' // { recurseForDerivations = false; };
487 in package' // {
487 in package' // {
488 components = final.lib.mapAttrs (n: v:
488 components = final.lib.mapAttrs (n: v:
489 if n == "library" || n == "all"
489 if n == "library" || n == "all"