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:
parent
70978c6a9c
commit
39059761a5
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user