on master help sign in
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.

commit39059761a501c0fd39fc2f1d4ca136d511e77451 authorMark Karpov <markkarpov92@gmail.com> dateThu 23 Apr 2020, 21:06 (7 years ago) parent70978c6
1 file changed+2−4
nix/ormolize/default.nix+2−4
nix/ormolize/default.nix+2−4
@@ -10,11 +10,9 @@
1010 src = package.src;
1111 buildInputs = [
1212 haskellPackages.cpphs
13− (if doCheck
14− then haskellPackages.ormolu
15− else pkgs.haskell.lib.dontCheck haskellPackages.ormolu)
16− pkgs.glibcLocales
13+ haskellPackages.ormolu
1714 pkgs.diffutils
15+ pkgs.glibcLocales
1816 ];
1917 LANG = "en_US.UTF-8";
2018 buildPhase = ''