Skip to content

Commit 2126269

Browse files
committed
Fix type of sha256map
1 parent fe82685 commit 2126269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cabal-project.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ in {
9090
'';
9191
};
9292
sha256map = mkOption {
93-
type = nullOr (attrsOf (attrsOf str));
93+
type = nullOr (attrsOf (either str (attrsOf str)));
9494
default = null;
9595
description = ''
9696
An alternative to adding `--sha256` comments into the

0 commit comments

Comments
 (0)