File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 69
69
} // pluginSourceDirs ;
70
70
71
71
# Tweak our packages
72
+ # Don't use `callHackage`, it requires us to override `all-cabal-hashes`
72
73
tweaks = hself : hsuper :
73
74
with haskell . lib ; {
74
- hls-hlint-plugin =
75
- hsuper . hls-hlint-plugin . override { hlint = hself . hlint_3_2_7 ; } ;
75
+ # https://github.com/haskell/haskell-language-server/pull/1858
76
+ # Remove this when nixpkgs has thie package
77
+ apply-refact_0_9_3_0 = hself . callCabal2nix "apply-refact"
78
+ ( builtins . fetchTarball {
79
+ url =
80
+ "https://hackage.haskell.org/package/apply-refact-0.9.3.0/apply-refact-0.9.3.0.tar.gz" ;
81
+ sha256 =
82
+ "1jfq1aw91finlpq5nn7a96za4c8j13jk6jmx2867fildxwrik2qj" ;
83
+ } ) { } ;
84
+ hls-hlint-plugin = hsuper . hls-hlint-plugin . override {
85
+ hlint = hself . hlint_3_2_7 ;
86
+ apply-refact = hself . apply-refact_0_9_3_0 ;
87
+ } ;
76
88
hls-tactics-plugin = hsuper . hls-tactics-plugin . override {
77
89
refinery = hself . refinery_0_3_0_0 ;
78
90
} ;
You can’t perform that action at this time.
0 commit comments