eliminate boolean value from path set for linkFarm (#1501)

This commit is contained in:
Alexander Bich 2022-06-02 07:24:31 +06:00 committed by GitHub
parent 95faec6038
commit 9faf891503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -910,8 +910,9 @@ final: prev: {
# project as it will automatically match the `compiler-nix-name`
# of the project.
roots = compiler-nix-name: final.linkFarm "haskell-nix-roots-${compiler-nix-name}"
(final.lib.mapAttrsToList (name: path: { inherit name path; })
(roots' compiler-nix-name 2));
(final.lib.filter (x: x.name != "recurseForDerivations")
(final.lib.mapAttrsToList (name: path: { inherit name path; })
(roots' compiler-nix-name 2)));
roots' = compiler-nix-name: ifdLevel:
final.recurseIntoAttrs ({