Skip to content

Commit 0aabe8d

Browse files
committed
Update to ghc-9.6.7 for the default compiler version
1 parent 0f4e712 commit 0aabe8d

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

flake.nix

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,7 @@
33

44
inputs = {
55

6-
###########################################################################
7-
# We pin the versions of haskell.nix and hackage.nix because
8-
# - Cross compilation for windows is broken in newer versions.
9-
# - plutus-preprocessor is a non-buildable package and it seems to be treated differently in newer versions.
10-
# We should unpin this once we no longer need it by specifying only haskell.nix and let it use its own default hackage.nix
11-
# haskellNix.url = "github:input-output-hk/haskell.nix";
12-
hackageNix = {
13-
url = "github:input-output-hk/hackage.nix?ref=for-stackage";
14-
flake = false;
15-
};
16-
haskellNix = {
17-
url = "github:input-output-hk/haskell.nix/a0283c855a38ed70ba521f7a9290e78488ddf11b";
18-
inputs.hackage.follows = "hackageNix";
19-
};
20-
###########################################################################
6+
haskellNix.url = "github:input-output-hk/haskell.nix";
217

228
nixpkgs.follows = "haskellNix/nixpkgs-unstable";
239
iohkNix.url = "github:input-output-hk/iohk-nix";
@@ -76,7 +62,7 @@
7662
inherit (nixpkgs) lib;
7763

7864
# see flake `variants` below for alternative compilers
79-
defaultCompiler = "ghc966";
65+
defaultCompiler = "ghc967";
8066
fourmoluVersion = "0.17.0.0";
8167
# We use cabalProject' to ensure we don't build the plan for
8268
# all systems.
@@ -266,9 +252,9 @@
266252

267253
devShells = let
268254
mkDevShells = p: {
269-
# `nix develop .#profiling` (or `.#ghc966.profiling): a shell with profiling enabled
255+
# `nix develop .#profiling` (or `.#ghc967.profiling): a shell with profiling enabled
270256
profiling = (p.appendModule {modules = [{enableLibraryProfiling = true;}];}).shell;
271-
# `nix develop .#pre-commit` (or `.#ghc966.pre-commit): a shell with pre-commit enabled
257+
# `nix develop .#pre-commit` (or `.#ghc967.pre-commit): a shell with pre-commit enabled
272258
pre-commit = let
273259
pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run {
274260
src = ./.;

0 commit comments

Comments
 (0)