From 0c761f74f0f0abc7c4fec12a68956964a658d72d Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 30 Dec 2022 12:47:20 +0100 Subject: [PATCH] haskell.compiler.ghcjs: allow building with transformers-compat-0.7 ghcjs's dependency optparse-applicative 0.15.1.0 restricts transformers-compat to < 0.7 which is unnecessary. --- pkgs/development/compilers/ghcjs/8.10/common-overrides.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ghcjs/8.10/common-overrides.nix b/pkgs/development/compilers/ghcjs/8.10/common-overrides.nix index 5c4829a857c9..8b54ee2e3531 100644 --- a/pkgs/development/compilers/ghcjs/8.10/common-overrides.nix +++ b/pkgs/development/compilers/ghcjs/8.10/common-overrides.nix @@ -13,6 +13,7 @@ in self: super: { }) ]; }) (super.ghcjs.overrideScope (self: super: { - optparse-applicative = self.optparse-applicative_0_15_1_0; + # Allow transformers-compat >= 0.7 + optparse-applicative = doJailbreak self.optparse-applicative_0_15_1_0; })); }