1
1
mirror of https://github.com/google/ormolu.git synced 2024-09-11 08:05:24 +03:00

Avoid re-compilation of ormolu for hackage test targets

Previously running tests took longer and this is why we have this
conditional. I doubt it was a good idea anyway, because the ‘dontCheck’
modifier causes re-compilation which takes longer than running tests anyway.
This commit is contained in:
Mark Karpov 2020-04-23 21:06:08 +02:00
parent 70978c6a9c
commit 39059761a5
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C

View File

@ -10,11 +10,9 @@
src = package.src;
buildInputs = [
haskellPackages.cpphs
(if doCheck
then haskellPackages.ormolu
else pkgs.haskell.lib.dontCheck haskellPackages.ormolu)
pkgs.glibcLocales
haskellPackages.ormolu
pkgs.diffutils
pkgs.glibcLocales
];
LANG = "en_US.UTF-8";
buildPhase = ''