@@ -620,14 +620,12 @@ final: prev: {
620 withInputs = final.recurseIntoAttrs;
620 withInputs = final.recurseIntoAttrs;
622 # Add this to your tests to make all the dependencies of haskell.nix
622 # Add this to your tests to make all the dependencies of haskell.nix
623− # are tested and cached.
623+ # are tested and cached. Consider using `p.roots` where `p` is a
624− roots = compiler-nix-name: final.recurseIntoAttrs {
624+ # project as it will automatically match the `compiler-nix-name`
625− Level0 = roots' compiler-nix-name 0;
625+ # of the project.
626− Level1 = roots' compiler-nix-name 1;
626+ roots = compiler-nix-name: final.linkFarm "haskell-nix-roots-${compiler-nix-name}"
627− # Should be safe to use this now we have materialized everything
627+ (final.lib.mapAttrsToList (name: path: { inherit name path; })
629− Level2 = roots' compiler-nix-name 2;
628+ (roots' compiler-nix-name 2));
632 roots' = compiler-nix-name: ifdLevel:
630 roots' = compiler-nix-name: ifdLevel:
633 final.recurseIntoAttrs ({
631 final.recurseIntoAttrs ({