File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 45
45
default = "cabal.project" ;
46
46
} ;
47
47
cabalProject = mkOption {
48
- type = nullOr str ;
48
+ type = nullOr lines ;
49
49
default = readIfExists config . src config . cabalProjectFileName ;
50
50
} ;
51
51
cabalProjectLocal = mkOption {
52
- type = nullOr str ;
52
+ type = nullOr lines ;
53
53
default = readIfExists config . src "${ config . cabalProjectFileName } .local" ;
54
54
} ;
55
55
cabalProjectFreeze = mkOption {
56
- type = nullOr str ;
56
+ type = nullOr lines ;
57
57
default = readIfExists config . src "${ config . cabalProjectFileName } .freeze" ;
58
58
} ;
59
59
ghc = mkOption {
79
79
description = "cabal-install to use when running `cabal configure`" ;
80
80
} ;
81
81
configureArgs = mkOption {
82
- type = nullOr str ;
82
+ type = nullOr ( separatedString " " ) ;
83
83
default = "" ;
84
84
description = ''
85
85
Extra arguments to pass to `cabal v2-configure`.
90
90
'' ;
91
91
} ;
92
92
sha256map = mkOption {
93
- type = nullOr unspecified ;
93
+ type = nullOr ( attrsOf ( either str ( attrsOf str ) ) ) ;
94
94
default = null ;
95
95
description = ''
96
96
An alternative to adding `--sha256` comments into the
You can’t perform that action at this time.
0 commit comments