mirror of
https://github.com/google/ormolu.git
synced 2024-10-26 16:42:40 +03:00
Update nix pin, test with GHC 8.10.2
This commit is contained in:
parent
5a5a23459c
commit
f896262aee
@ -7,9 +7,9 @@ steps:
|
|||||||
command: |
|
command: |
|
||||||
nix-build --keep-going --no-out-link --argstr ormoluCompiler ghc884
|
nix-build --keep-going --no-out-link --argstr ormoluCompiler ghc884
|
||||||
timeout: 100
|
timeout: 100
|
||||||
- label: Build and test with GHC 8.10.1
|
- label: Build and test with GHC 8.10.2
|
||||||
command: |
|
command: |
|
||||||
nix-build --keep-going --no-out-link --argstr ormoluCompiler ghc8101
|
nix-build --keep-going --no-out-link --argstr ormoluCompiler ghc8102
|
||||||
timeout: 100
|
timeout: 100
|
||||||
- wait
|
- wait
|
||||||
- label: Check formatting
|
- label: Check formatting
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ pkgs ? (import ./nix/nixpkgs { inherit system; })
|
{ pkgs ? (import ./nix/nixpkgs { inherit system; })
|
||||||
, system ? builtins.currentSystem
|
, system ? builtins.currentSystem
|
||||||
, ormoluCompiler ? "ghc884" # the shell doesn't work with ghc8101 yet
|
, ormoluCompiler ? "ghc8102"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -37,7 +37,7 @@ let
|
|||||||
"postgrest"
|
"postgrest"
|
||||||
"purescript"
|
"purescript"
|
||||||
"tensorflow"
|
"tensorflow"
|
||||||
] ++ (if ormoluCompiler == "ghc8101" then [] else ["lens"]);
|
] ++ (if ormoluCompiler == "ghc8102" then [] else ["lens"]);
|
||||||
ormolizedPackages = doCheck:
|
ormolizedPackages = doCheck:
|
||||||
pkgs.lib.mapAttrs (name: p: ormolize {
|
pkgs.lib.mapAttrs (name: p: ormolize {
|
||||||
package = p;
|
package = p;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
The GHC parser (in Haddock mode) failed:
|
The GHC parser (in Haddock mode) failed:
|
||||||
src/Database/Esqueleto/Internal/Internal.hs:379:1
|
src/Database/Esqueleto/Internal/Internal.hs:385:1
|
||||||
lexical error in string/character literal at character 's'
|
lexical error in string/character literal at character 's'
|
||||||
|
|
||||||
The GHC parser (in Haddock mode) failed:
|
The GHC parser (in Haddock mode) failed:
|
||||||
|
@ -3,7 +3,7 @@ The GHC parser (in Haddock mode) failed:
|
|||||||
parse error on input `import'
|
parse error on input `import'
|
||||||
|
|
||||||
Formatting is not idempotent:
|
Formatting is not idempotent:
|
||||||
src/Text/Pandoc/Readers/Vimwiki.hs<rendered>:613:19
|
src/Text/Pandoc/Readers/Vimwiki.hs<rendered>:617:19
|
||||||
before: ".softbreak <$ endlin"
|
before: ".softbreak <$ endlin"
|
||||||
after: ".softbreak\n <$ en"
|
after: ".softbreak\n <$ en"
|
||||||
Please, consider reporting the bug.
|
Please, consider reporting the bug.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ system ? builtins.currentSystem }:
|
{ system ? builtins.currentSystem }:
|
||||||
let
|
let
|
||||||
rev = "32b46dd897ab2143a609988a04d87452f0bbef59";
|
rev = "84d74ae9c9cbed73274b8e4e00be14688ffc93fe";
|
||||||
sha256 = "1gzfrpjnr1bz9zljsyg3a4zrhk8r927sz761mrgcg56dwinkhpjk";
|
sha256 = "0ww70kl08rpcsxb9xdx8m48vz41dpss4hh3vvsmswll35l158x0v";
|
||||||
nixpkgs = builtins.fetchTarball {
|
nixpkgs = builtins.fetchTarball {
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
|
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
|
@ -4,7 +4,7 @@ version: 0.1.3.0
|
|||||||
license: BSD3
|
license: BSD3
|
||||||
license-file: LICENSE.md
|
license-file: LICENSE.md
|
||||||
maintainer: Mark Karpov <mark.karpov@tweag.io>
|
maintainer: Mark Karpov <mark.karpov@tweag.io>
|
||||||
tested-with: ghc ==8.6.5 ghc ==8.8.4 ghc ==8.10.1
|
tested-with: ghc ==8.6.5 ghc ==8.8.4 ghc ==8.10.2
|
||||||
homepage: https://github.com/tweag/ormolu
|
homepage: https://github.com/tweag/ormolu
|
||||||
bug-reports: https://github.com/tweag/ormolu/issues
|
bug-reports: https://github.com/tweag/ormolu/issues
|
||||||
synopsis: A formatter for Haskell source code
|
synopsis: A formatter for Haskell source code
|
||||||
|
Loading…
Reference in New Issue
Block a user