Skip to content

Commit f43c5cc

Browse files
authored
Avoid IFD (#1640)
I forgot this also avoids and IFD when I suggested it could be removed. See #1588
1 parent fc5a5b4 commit f43c5cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/hackage-project.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ in {
2626
# Avoid readDir and readFile IFD functions looking for these files in the hackage source
2727
# `mkOverride 1100` means this will be used in preference to the mkOption default,
2828
# but a `mkDefault` can still override this.
29+
cabalProject = lib.mkOverride 1100 ''
30+
packages: .
31+
'';
2932
cabalProjectLocal = lib.mkOverride 1100 null;
3033
cabalProjectFreeze = lib.mkOverride 1100 null;
3134
src =

0 commit comments

Comments
 (0)