Skip to content

Commit 976f188

Browse files
authored
Add upper bound on unix-compat to stack (#1879)
1 parent cfd757a commit 976f188

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/hackage-quirks.nix

+4-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@ in [
7777
# https://github.com/commercialhaskell/stack/issues/5963
7878
({config, lib, pkgs, ...}:
7979
{ _file = "haskell.nix/overlays/hackage-quirks.nix#stack"; } //
80-
lib.mkIf (config.name == "stack" && builtins.compareVersions config.version "2.9.1" <= 0) {
80+
lib.mkIf (config.name == "stack" && builtins.compareVersions config.version "2.9.3" <= 0) {
8181
cabalProjectLocal = ''
82-
constraints: rio-prettyprint <0.1.4.0
82+
constraints: unix-compat <0.7${
83+
lib.optionalString (builtins.compareVersions config.version "2.9.1" <= 0)
84+
" rio-prettyprint <0.1.4.0"}
8385
'';
8486
}
8587
)

0 commit comments

Comments
 (0)