Skip to content

Commit

Permalink
style: Centralize GHC version
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed May 19, 2024
1 parent e808a8a commit 63c7eab
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
packages ? import nix/pkgs.nix { inherit compiler; },
compiler ? "ghc964",
compiler ? import nix/ghc-version.nix,
}:

let
Expand Down
2 changes: 1 addition & 1 deletion nix/ci.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
packages ? import ./pkgs.nix { inherit compiler; },
compiler ? "ghc964",
compiler ? import ./ghc-version.nix,
}:

let
Expand Down
1 change: 1 addition & 0 deletions nix/ghc-version.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"ghc964"
2 changes: 1 addition & 1 deletion nix/pkgs.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
compiler ? "ghc964",
compiler ? import ./ghc-version.nix,
}:

let
Expand Down
2 changes: 1 addition & 1 deletion nix/toc.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
compiler ? "ghc964",
compiler ? import ./ghc-version.nix,
}:

let
Expand Down

0 comments on commit 63c7eab

Please sign in to comment.