Last active
December 19, 2022 20:24
-
-
Save hellwolf/16b5d0c052b2bbc69679bb8631bf6f96 to your computer and use it in GitHub Desktop.
[Nix Tip]: install specific haskell compiler version and its hls & Agda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ghc 9.4.x, HLS and Agda built with it | |
[ haskell.compiler.ghc94 | |
haskell.packages.ghc94.haskell-language-server | |
haskell.packages.ghc94.Agda | |
] | |
## alternative way of building HLS with ghc versions included | |
(haskell-language-server.override { | |
haskellPackages = haskell.packages.ghc92; | |
supportedGhcVersions = [ | |
(builtins.replaceStrings ["."] [""] haskell.compiler.ghc92.version) | |
]; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment