Skip to content

Commit fe82685

Browse files
committed
Specify types of sha256map and configureArgs
1 parent ab59b8d commit fe82685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/cabal-project.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ in {
7979
description = "cabal-install to use when running `cabal configure`";
8080
};
8181
configureArgs = mkOption {
82-
type = nullOr str;
82+
type = nullOr (separatedString " ");
8383
default = "";
8484
description = ''
8585
Extra arguments to pass to `cabal v2-configure`.
@@ -90,7 +90,7 @@ in {
9090
'';
9191
};
9292
sha256map = mkOption {
93-
type = nullOr unspecified;
93+
type = nullOr (attrsOf (attrsOf str));
9494
default = null;
9595
description = ''
9696
An alternative to adding `--sha256` comments into the

0 commit comments

Comments
 (0)