Skip to content

Commit

Permalink
build(ci): GHC version set to 9.6.6 and updated flake.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMazarro committed Sep 30, 2024
1 parent beaac71 commit c889b30
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 70 deletions.
118 changes: 57 additions & 61 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
overlays = [
haskellNix.overlay
(final: prev: {
hapistrano-ghc96 = final.haskell-nix.cabalProject' {
hapistrano-ghc966 = final.haskell-nix.cabalProject' {
src = final.haskell-nix.haskellLib.cleanGit {
name = "hapistrano";
src = ./.;
Expand All @@ -39,22 +39,22 @@
hlint = {};
haskell-language-server = {};
};
compiler-nix-name = "ghc96";
compiler-nix-name = "ghc966";
};
})
];
};
flake-ghc96 = pkgs.hapistrano-ghc96.flake { };
flake-ghc966 = pkgs.hapistrano-ghc966.flake { };
in rec {
apps = {
test-ghc96 = {
test-ghc966 = {
type = "app";
program = "${packages.test-ghc96}/bin/test";
program = "${packages.test-ghc966}/bin/test";
};
};
packages = {
default = flake-ghc96.packages."hapistrano:exe:hap";
test-ghc96 = flake-ghc96.packages."hapistrano:test:test".overrideAttrs (_: {
default = flake-ghc966.packages."hapistrano:exe:hap";
test-ghc966 = flake-ghc966.packages."hapistrano:test:test".overrideAttrs (_: {
postFixup = ''
wrapProgram $out/bin/test \
--set PATH ${pkgs.lib.makeBinPath [
Expand All @@ -68,8 +68,8 @@
});
};
devShells = {
default = devShells.ghc96;
ghc96 = flake-ghc96.devShells.default;
default = devShells.ghc966;
ghc966 = flake-ghc966.devShells.default;
};
});
}

0 comments on commit c889b30

Please sign in to comment.