Skip to content

Commit ab59b8d

Browse files
committed
Allow merging cabalProject{,Local,Freeze}
1 parent f701098 commit ab59b8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/cabal-project.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ in {
4545
default = "cabal.project";
4646
};
4747
cabalProject = mkOption {
48-
type = nullOr str;
48+
type = nullOr lines;
4949
default = readIfExists config.src config.cabalProjectFileName;
5050
};
5151
cabalProjectLocal = mkOption {
52-
type = nullOr str;
52+
type = nullOr lines;
5353
default = readIfExists config.src "${config.cabalProjectFileName}.local";
5454
};
5555
cabalProjectFreeze = mkOption {
56-
type = nullOr str;
56+
type = nullOr lines;
5757
default = readIfExists config.src "${config.cabalProjectFileName}.freeze";
5858
};
5959
ghc = mkOption {

0 commit comments

Comments
 (0)