File tree Expand file tree Collapse file tree 4 files changed +71
-28
lines changed
Expand file tree Collapse file tree 4 files changed +71
-28
lines changed Original file line number Diff line number Diff line change 3939
4040 hie-bios = hself . callCabal2nix "hie-bios" inputs . haskell-hie-bios { } ;
4141
42+ implicit-hie-cradle = hself . callCabal2nix "implicit-hie-cradle" inputs . haskell-implicit-hie-cradle { } ;
43+
4244 # Re-generate HLS drv excluding some plugins
4345 haskell-language-server =
4446 hself . callCabal2nixWithOptions "haskell-language-server" ./.
Original file line number Diff line number Diff line change 3535 MonadRandom = hself . callHackage "MonadRandom" "0.6" { } ;
3636 hiedb = hself . callCabal2nix "hiedb" inputs . haskell-hiedb { } ;
3737 hie-bios = hself . callCabal2nix "hie-bios" inputs . haskell-hie-bios { } ;
38+ implicit-hie-cradle = hself . callCabal2nix "implicit-hie-cradle" inputs . haskell-implicit-hie-cradle { } ;
3839 ghc-exactprint = hself . callCabal2nix "ghc-exactprint" inputs . haskell-ghc-exactprint { } ;
3940
4041 # ptr-poker breaks on MacOS without SSE2 optimizations
4142 # https://github.com/nikita-volkov/ptr-poker/issues/11
4243 ptr-poker = hself . callCabal2nix "ptr-poker" inputs . ptr-poker { } ;
4344
4445 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" { } ;
4654
4755 stylish-haskell = appendConfigureFlag hsuper . stylish-haskell "-fghc-lib" ;
4856
Original file line number Diff line number Diff line change 5151 } ;
5252
5353 haskell-hie-bios = {
54- url = "github:mpickering /hie-bios" ;
54+ url = "github:haskell /hie-bios" ;
5555 flake = false ;
5656 } ;
5757
6060 flake = false ;
6161 } ;
6262
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" ;
6575 flake = false ;
6676 } ;
6777 } ;
You can’t perform that action at this time.
0 commit comments