{ description = "Basic Haskell flake"; inputs.haskell-nix.url = "github:input-output-hk/haskell.nix"; inputs.nixpkgs.follows = "haskell-nix/nixpkgs-2511"; inputs.flake-utils.url = "github:numtide/flake-utils"; outputs = inputs@{ self, nixpkgs, flake-utils, haskell-nix, ... }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: let overlays = [ haskell-nix.overlay (final: prev: { myHaskellProject = final.haskell-nix.hix.project { src = ./.; compiler-nix-name = "ghc9122"; evalSystem = "x86_64-linux"; shell.tools.cabal = "latest"; shell.tools.hlint = "latest"; shell.tools.haskell-language-server = "latest"; shell.withHoogle = false; }; }) ]; pkgs = import nixpkgs { inherit system overlays; inherit (haskell-nix) config; }; in pkgs.myHaskellProject.flake { }); }