Skip to content

Commit

Permalink
Merge pull request #46512 from michaelpj/imp/haskell-benchmarks
Browse files Browse the repository at this point in the history
haskell lib: add --enable-benchmarks in doBenchmark
  • Loading branch information
basvandijk committed Sep 18, 2018
2 parents ad11711 + 175c4f0 commit 0a30853
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/haskell-modules/generic-builder.nix
Expand Up @@ -152,6 +152,7 @@ let
(optionalString (versionOlder "8.4" ghc.version) (enableFeature enableStaticLibraries "static"))
(optionalString (isGhcjs || versionOlder "7.4" ghc.version) (enableFeature enableSharedExecutables "executable-dynamic"))
(optionalString (isGhcjs || versionOlder "7" ghc.version) (enableFeature doCheck "tests"))
(enableFeature doBenchmark "benchmarks")
"--enable-library-vanilla" # TODO: Should this be configurable?
"--enable-library-for-ghci" # TODO: Should this be configurable?
] ++ optionals (enableDeadCodeElimination && (stdenv.lib.versionOlder "8.0.1" ghc.version)) [
Expand Down

0 comments on commit 0a30853

Please sign in to comment.