File tree 4 files changed +71
-28
lines changed
4 files changed +71
-28
lines changed Original file line number Diff line number Diff line change 39
39
40
40
hie-bios = hself . callCabal2nix "hie-bios" inputs . haskell-hie-bios { } ;
41
41
42
+ implicit-hie-cradle = hself . callCabal2nix "implicit-hie-cradle" inputs . haskell-implicit-hie-cradle { } ;
43
+
42
44
# Re-generate HLS drv excluding some plugins
43
45
haskell-language-server =
44
46
hself . callCabal2nixWithOptions "haskell-language-server" ./.
Original file line number Diff line number Diff line change 35
35
MonadRandom = hself . callHackage "MonadRandom" "0.6" { } ;
36
36
hiedb = hself . callCabal2nix "hiedb" inputs . haskell-hiedb { } ;
37
37
hie-bios = hself . callCabal2nix "hie-bios" inputs . haskell-hie-bios { } ;
38
+ implicit-hie-cradle = hself . callCabal2nix "implicit-hie-cradle" inputs . haskell-implicit-hie-cradle { } ;
38
39
ghc-exactprint = hself . callCabal2nix "ghc-exactprint" inputs . haskell-ghc-exactprint { } ;
39
40
40
41
# ptr-poker breaks on MacOS without SSE2 optimizations
41
42
# https://github.com/nikita-volkov/ptr-poker/issues/11
42
43
ptr-poker = hself . callCabal2nix "ptr-poker" inputs . ptr-poker { } ;
43
44
44
45
ormolu = hself . ormolu_0_5_3_0 ;
45
- fourmolu = hself . callCabal2nix "fourmolu" inputs . fourmolu-012 { } ;
46
+
47
+ # TODO: smunix: nix fails to build fourmolu-0.13 from Hackage with these errors:
48
+ # tar: */fourmolu/0.13.0.0/fourmolu.json: Not found in archive
49
+ # tar: */fourmolu/0.13.0.0/fourmolu.cabal: Not found in archive
50
+ # tar: Exiting with failure status due to previous errors
51
+ # As an alternative, we could build directly from github:fourmolu. How do people
52
+ # feel about this?
53
+ fourmolu = hself . callHackage "fourmolu" "0.12.0.0" { } ;
46
54
47
55
stylish-haskell = appendConfigureFlag hsuper . stylish-haskell "-fghc-lib" ;
48
56
Original file line number Diff line number Diff line change 51
51
} ;
52
52
53
53
haskell-hie-bios = {
54
- url = "github:mpickering /hie-bios" ;
54
+ url = "github:haskell /hie-bios" ;
55
55
flake = false ;
56
56
} ;
57
57
60
60
flake = false ;
61
61
} ;
62
62
63
- fourmolu-012 = {
64
- url = "https://hackage.haskell.org/package/fourmolu-0.12.0.0/fourmolu-0.12.0.0.tar.gz" ;
63
+ # smunix: github:haskell/hie-bios defines
64
+ # 'CabalType :: Maybe String -> Maybe FilePath -> CabalType'
65
+ # while the original githcom:Avi-D-coder/hie-bios still has this:
66
+ # 'CabalType :: Maybe String -> CabalType'
67
+ # We need a patched version of implicit-hie-cradle that works with hls, so I've created
68
+ # the repository below. Obviously, this is not sustainable as it adds more technical debt.
69
+ # We need a better strategy to streamline changes required by HLS from other hie-bios related
70
+ # packages.
71
+ # See details here: https://github.com/Avi-D-coder/implicit-hie-cradle/compare/master...smunix:implicit-hie-cradle:smunix-patch-hls-1?expand=1
72
+ #
73
+ haskell-implicit-hie-cradle = {
74
+ url = "github:smunix/implicit-hie-cradle?ref=smunix-patch-hls-1" ;
65
75
flake = false ;
66
76
} ;
67
77
} ;
You can’t perform that action at this time.
0 commit comments