|
3 | 3 |
|
4 | 4 | inputs = { |
5 | 5 |
|
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"; |
21 | 7 |
|
22 | 8 | nixpkgs.follows = "haskellNix/nixpkgs-unstable"; |
23 | 9 | iohkNix.url = "github:input-output-hk/iohk-nix"; |
|
76 | 62 | inherit (nixpkgs) lib; |
77 | 63 |
|
78 | 64 | # see flake `variants` below for alternative compilers |
79 | | - defaultCompiler = "ghc966"; |
| 65 | + defaultCompiler = "ghc967"; |
80 | 66 | fourmoluVersion = "0.17.0.0"; |
81 | 67 | # We use cabalProject' to ensure we don't build the plan for |
82 | 68 | # all systems. |
|
266 | 252 |
|
267 | 253 | devShells = let |
268 | 254 | 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 |
270 | 256 | 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 |
272 | 258 | pre-commit = let |
273 | 259 | pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run { |
274 | 260 | src = ./.; |
|
0 commit comments