Skip to content

Commit 03d8620

Browse files
committed
disable sibling inclusion
1 parent 1d6e87b commit 03d8620

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/load-cabal-plan.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ in {
159159
if pkgs.lib.hasPrefix ".${callProjectResults.src.origSubDir or ""}/" (p.pkg-src.path + "/")
160160
then pkgs.lib.removePrefix ".${callProjectResults.src.origSubDir or ""}" p.pkg-src.path
161161
else throw "Unexpected path ${p.pkg-src.path} expected it to start with .${callProjectResults.src.origSubDir or ""}"))));
162-
includeSiblings = true; # Filtering sibling dirs of the package dir is done in the
162+
includeSiblings = false; # we disable this because it is extremely slow
163+
164+
# Filtering sibling dirs of the package dir is done in the
163165
# component builder so that relative paths can be used to
164166
# reference project directories not in the package subDir.
165167
};

0 commit comments

Comments
 (0)