Skip to content

Instantly share code, notes, and snippets.

@hellwolf
Last active December 19, 2022 20:24
Show Gist options
  • Save hellwolf/16b5d0c052b2bbc69679bb8631bf6f96 to your computer and use it in GitHub Desktop.
Save hellwolf/16b5d0c052b2bbc69679bb8631bf6f96 to your computer and use it in GitHub Desktop.
[Nix Tip]: install specific haskell compiler version and its hls & Agda
## 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