Skip to content

Commit

Permalink
Add upper bound on unix-compat to stack (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Mar 16, 2023
1 parent cfd757a commit 976f188
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/hackage-quirks.nix
Expand Up @@ -77,9 +77,11 @@ in [
# https://github.com/commercialhaskell/stack/issues/5963
({config, lib, pkgs, ...}:
{ _file = "haskell.nix/overlays/hackage-quirks.nix#stack"; } //
lib.mkIf (config.name == "stack" && builtins.compareVersions config.version "2.9.1" <= 0) {
lib.mkIf (config.name == "stack" && builtins.compareVersions config.version "2.9.3" <= 0) {
cabalProjectLocal = ''
constraints: rio-prettyprint <0.1.4.0
constraints: unix-compat <0.7${
lib.optionalString (builtins.compareVersions config.version "2.9.1" <= 0)
" rio-prettyprint <0.1.4.0"}
'';
}
)
Expand Down

0 comments on commit 976f188

Please sign in to comment.