From 7775a1a60ed1fd5472b180d7fc932ca70b07995d Mon Sep 17 00:00:00 2001 From: Jonathan Curran Date: Wed, 29 Nov 2017 14:52:29 -0700 Subject: [PATCH] purescript: fix build by overriding optparse-applicative dependency --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ada9a9e5390..6d6c38a2a77 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -453,8 +453,10 @@ self: super: { # https://github.com/basvandijk/threads/issues/10 threads = dontCheck super.threads; - # https://github.com/purescript/purescript/pull/3041 - purescript = doJailbreak super.purescript; + # https://github.com/NixOS/nixpkgs/issues/32138 + purescript = super.purescript.overrideScope (self: super: { + optparse-applicative = self.optparse-applicative_0_14_0_0; + }); # Missing module. rematch = dontCheck super.rematch; # https://github.com/tcrayford/rematch/issues/5