@@ -455,6 +455,9 @@ benchmark linear
455455 , deepseq >= 1.4.3 && < 1.5
456456 , random >= 1.0 && < 2.0
457457 , gauge >= 0.2.4 && < 0.3
458+ if impl(ghc < 8.0)
459+ build-depends:
460+ transformers >= 0.4 && < 0.6
458461
459462benchmark linear-async
460463 type: exitcode-stdio-1.0
@@ -483,6 +486,9 @@ benchmark linear-async
483486 , deepseq >= 1.4.3 && < 1.5
484487 , random >= 1.0 && < 2.0
485488 , gauge >= 0.2.4 && < 0.3
489+ if impl(ghc < 8.0)
490+ build-depends:
491+ transformers >= 0.4 && < 0.6
486492
487493benchmark linear-rate
488494 type: exitcode-stdio-1.0
@@ -510,6 +516,9 @@ benchmark linear-rate
510516 , deepseq >= 1.4.3 && < 1.5
511517 , random >= 1.0 && < 2.0
512518 , gauge >= 0.2.4 && < 0.3
519+ if impl(ghc < 8.0)
520+ build-depends:
521+ transformers >= 0.4 && < 0.6
513522
514523benchmark nested
515524 type: exitcode-stdio-1.0
@@ -565,6 +574,9 @@ benchmark array
565574 , deepseq >= 1.4.3 && < 1.5
566575 , random >= 1.0 && < 2.0
567576 , gauge >= 0.2.4 && < 0.3
577+ if impl(ghc < 8.0)
578+ build-depends:
579+ transformers >= 0.4 && < 0.6
568580
569581-------------------------------------------------------------------------------
570582-- Internal benchmarks for unexposed modules