{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, flake-utils, nixpkgs }: let supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ]; compilerVersion = "982"; in flake-utils.lib.eachSystem supportedSystems (system: let pkgs = import nixpkgs { inherit system; }; in { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ haskell.compiler."ghc${compilerVersion}" (pkgs.haskell-language-server.override { supportedGhcVersions = [ compilerVersion ]; }) ]; }; }); }