@@ -335,10 +335,6 @@ flag trypandoc
335335 Description: Build trypandoc cgi executable.
336336 Default: False
337337
338−flag weigh-pandoc
339− Description: Build weigh-pandoc to measure memory usage.
340− Default: False
341−
342338flag network-uri
343339 Description: Get Network.URI from the network-uri package
344340 Default: True
@@ -588,18 +584,15 @@ executable trypandoc
588584 other-modules: Prelude
589585 build-depends: base-compat >= 0.9
590586
591−executable weigh-pandoc
587+benchmark weigh-pandoc
588+ type: exitcode-stdio-1.0
592589 main-is: weigh-pandoc.hs
593590 hs-source-dirs: benchmark
594− if flag(weigh-pandoc)
595− build-depends: pandoc,
596− base >= 4.2 && < 5,
597− text,
598− weigh >= 0.0 && < 0.1,
599− mtl >= 2.2 && < 2.3
600− buildable: True
601− else
602− buildable: False
591+ build-depends: pandoc,
592+ base >= 4.2 && < 5,
593+ text,
594+ weigh >= 0.0 && < 0.1,
595+ mtl >= 2.2 && < 2.3
603596 if impl(ghc < 8.0)
604597 build-depends: semigroups == 0.18.*
605598 if impl(ghc < 8.4)