File tree Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 21
21
ghc-lib = hself . ghc-lib_8_10_7_20220219 ;
22
22
ghc-lib-parser = hself . ghc-lib-parser_8_10_7_20220219 ;
23
23
24
+ fourmolu = hself . callCabal2nix "fourmolu" inputs . fourmolu-0300 { } ;
25
+
24
26
stylish-haskell = hself . callCabal2nixWithOptions "stylish-haskell"
25
27
inputs . stylish-haskell-01220 ( pkgs . lib . concatStringsSep " " [ ] ) { } ;
26
28
30
32
brittany = hself . callCabal2nixWithOptions "brittany" inputs . brittany-01312
31
33
( pkgs . lib . concatStringsSep " " [ ] ) { } ;
32
34
33
- hls-stylish-haskell-plugin =
34
- hself . callCabal2nixWithOptions "hls-stylish-haskell-plugin"
35
- ./plugins/hls-stylish-haskell-plugin ( pkgs . lib . concatStringsSep " " [ ] )
36
- { } ;
35
+ hls-hlint-plugin = hself . callCabal2nixWithOptions "hls-hlint-plugin"
36
+ ./plugins/hls-hlint-plugin
37
+ ( pkgs . lib . concatStringsSep " " [ "-f-hlint34" "-fhyphenation" ] ) { } ;
37
38
38
39
# Re-generate HLS drv excluding some plugins
39
40
haskell-language-server =
40
41
hself . callCabal2nixWithOptions "haskell-language-server" ./.
41
- ( pkgs . lib . concatStringsSep " " [ ] ) { } ;
42
+ ( pkgs . lib . concatStringsSep " " [
43
+ "-fpedantic"
44
+ "-f-hlint"
45
+ "-f-fourmolu"
46
+ "-f-ormolu"
47
+ ] ) { } ;
42
48
43
49
# YOLO
44
50
mkDerivation = args :
Original file line number Diff line number Diff line change 55
55
url = "https://hackage.haskell.org/package/fourmolu-0.5.0.1/fourmolu-0.5.0.1.tar.gz" ;
56
56
flake = false ;
57
57
} ;
58
+ fourmolu-0300 = {
59
+ url = "https://hackage.haskell.org/package/fourmolu-0.3.0.0/fourmolu-0.3.0.0.tar.gz" ;
60
+ flake = false ;
61
+ } ;
58
62
aeson-1520 = {
59
63
url = "https://hackage.haskell.org/package/aeson-1.5.2.0/aeson-1.5.2.0.tar.gz" ;
60
64
flake = false ;
You can’t perform that action at this time.
0 commit comments