File tree 2 files changed +24
-20
lines changed
2 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 29
29
- uses : cachix/install-nix-action@v26
30
30
31
31
- name : checks
32
- run : nix-build -A checks
32
+ run : nix-build -A ci
33
33
34
34
nixpkgs-diff :
35
35
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 75
75
# Haskell formatter
76
76
programs . fourmolu . enable = true ;
77
77
} ;
78
- in
79
- build
80
- // {
81
- packages . nixfmt = build ;
82
-
83
- inherit pkgs ;
84
-
85
- shell = pkgs . haskellPackages . shellFor {
86
- packages = p : [ p . nixfmt ] ;
87
- nativeBuildInputs = with pkgs ; [
88
- cabal-install
89
- stylish-haskell
90
- haskellPackages . haskell-language-server
91
- shellcheck
92
- npins
93
- hlint
94
- treefmtEval . config . build . wrapper
95
- ] ;
96
- } ;
97
78
98
79
checks = {
99
80
inherit build ;
@@ -121,4 +102,27 @@ build
121
102
} ;
122
103
treefmt = treefmtEval . config . build . check source ;
123
104
} ;
105
+ in
106
+ build
107
+ // {
108
+ packages . nixfmt = build ;
109
+
110
+ inherit pkgs ;
111
+
112
+ shell = pkgs . haskellPackages . shellFor {
113
+ packages = p : [ p . nixfmt ] ;
114
+ nativeBuildInputs = with pkgs ; [
115
+ cabal-install
116
+ stylish-haskell
117
+ haskellPackages . haskell-language-server
118
+ shellcheck
119
+ npins
120
+ hlint
121
+ treefmtEval . config . build . wrapper
122
+ ] ;
123
+ } ;
124
+
125
+ inherit checks ;
126
+
127
+ ci = pkgs . linkFarm "ci" checks ;
124
128
}
You can’t perform that action at this time.
0 commit comments