Skip to content

Commit

Permalink
haskell: version consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
definfo committed Dec 25, 2024
1 parent 6b53240 commit 992bc47
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions haskell/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@
in
{
devShells = forEachSupportedSystem ({ pkgs }: {
default = pkgs.mkShell {
packages = with pkgs; [ cabal-install ghc haskell-language-server ];
};
default =
let
hls = pkgs.haskell-language-server.override {
supportedGhcVersions = [ "96" "98" ];
};
in
pkgs.mkShell {
packages = with pkgs; [ stack cabal-install hls hlint ];
};
});
};
}

0 comments on commit 992bc47

Please sign in to comment.