Skip to content

Commit 38c25f2

Browse files
committed
Fix logic for detecting cabal-doctest
1 parent 4cec161 commit 38c25f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/comp-builder.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let self =
2828
# (not just the one we are building).
2929
# Enable for tests in packages that use cabal-doctest.
3030
( haskellLib.isTest componentId &&
31-
lib.any (x: x.identifier.name or "" == "cabal-doctest") package.setup-depends
31+
lib.any (x: x.identifier.name or "" == "cabal-doctest") setup.config.depends
3232
)
3333
, allComponent # Used when `configureAllComponents` is set to get a suitable configuration.
3434

0 commit comments

Comments
 (0)