File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ builtins . throw ''
2+ This version of hackage.nix is not compatible with older versions of haskell.nix.
3+ Newer versions of hackage.nix are significantly smaller, and faster to download.
4+
5+ However newer versions of haskell.nix are lacking high fidelity support for GHC 8.10,
6+ as such windows cross compilation is broken, and more may break going forward.
7+
8+ You have two options:
9+
10+ 1. Please update to a newer version of haskell.nix, or
11+
12+ 2. If you cannot update haskell.nix it is recommended that you pin your haskell.nix
13+ to your current revision or `cb139fa956158397aa398186bb32dd26f7318784` and point
14+ hackage.nix to `github:input-output-hk/hackage.nix?ref=for-stackage` as shown below:
15+
16+ hackageNix = {
17+ url = "github:input-output-hk/hackage.nix?ref=for-stackage";
18+ flake = false;
19+ };
20+
21+ haskellNix = {
22+ # GHC 8.10.7 cross compilation for windows is broken in newer versions of haskell.nix.
23+ # Unpin this once we no longer need GHC 8.10.7.
24+ url = "github:input-output-hk/haskell.nix/cb139fa956158397aa398186bb32dd26f7318784";
25+ inputs.hackage.follows = "hackageNix";
26+ };
27+
28+ ''
You can’t perform that action at this time.
0 commit comments