We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f42ad0 commit fadf922Copy full SHA for fadf922
modules/hackage-quirks.nix
@@ -69,6 +69,18 @@ in [
69
}
70
)
71
72
+ # The latest version of stack (2.9.1) in hackage fails to build because the
73
+ # of version of rio-prettyprint (recently released 0.1.4.0) chosen by cabal.
74
+ # https://github.com/commercialhaskell/stack/issues/5963
75
+ ({config, lib, pkgs, ...}:
76
+ { _file = "haskell.nix/overlays/hackage-quirks.nix#stack"; } //
77
+ lib.mkIf (config.name == "stack" && builtins.compareVersions config.version "2.9.1" <= 0) {
78
+ cabalProjectLocal = ''
79
+ constraints: rio-prettyprint <0.1.4.0
80
+ '';
81
+ }
82
+ )
83
+
84
# Map the following into modules that use `mkIf` to check the name of the
85
# hackage package in a way that is lazy enought not to cause infinite recursion
86
# issues.
0 commit comments