Skip to content

Commit

Permalink
build: tested with GHC 9.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DavSanchez committed Sep 25, 2023
1 parent c9c156b commit 759fe26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {inherit system;};
haskell = pkgs.haskellPackages; # Replaceable with pkgs.haskell.packages.ghc96 or similar
in {
checks = {
pre-commit-check = pre-commit-hooks.lib.${system}.run {
Expand All @@ -45,7 +46,7 @@
devShells = {
default = pkgs.mkShell {
inherit (self.checks.${system}.pre-commit-check) shellHook;
buildInputs = with pkgs.haskellPackages; [
buildInputs = with haskell; [
ghc
cabal-install
haskell-language-server
Expand All @@ -55,7 +56,7 @@
# devenv = devenv.lib.mkShell {};
};
packages = {
default = pkgs.haskellPackages.callPackage ./default.nix {};
default = haskell.callPackage ./default.nix {};
};
}
);
Expand Down
2 changes: 1 addition & 1 deletion richenv.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ extra-doc-files:
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
-- extra-source-files:

tested-with: GHC ==9.2.8 || ==9.4.6
tested-with: GHC ==9.2.8 || ==9.4.6 || ==9.6.2

source-repository head
type: git
Expand Down

0 comments on commit 759fe26

Please sign in to comment.