From 889d618f16ef2fc3110e1a8a6b2014109ae49e41 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Mon, 8 Jan 2018 12:36:13 +0000 Subject: [PATCH] Jailbreak purescript package See https://github.com/NixOS/nixpkgs/issues/33355 https://github.com/purescript/purescript/issues/3189 --- pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix | 4 ++++ .../haskell-modules/configuration-hackage2nix.yaml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix index e6ba886032b..d9d9cce7ef5 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix @@ -93,4 +93,8 @@ self: super: { sha256 = "06sfxk5cyd8nqgjyb95jkihxxk8m6dw9m3mlv94sm2qwylj86gqy"; }; in appendPatch super.coordinate patch; + + # https://github.com/purescript/purescript/issues/3189 + purescript = doJailbreak (super.purescript); + } diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index ea59ce7cc64..8894ede82f1 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -2668,7 +2668,6 @@ default-package-overrides: extra-packages: - aeson < 0.8 # newer versions don't work with GHC 7.6.x or earlier - aeson-pretty < 0.8 # required by elm compiler - - ansi-terminal < 0.7 # required by purescript compiler - apply-refact < 0.4 # newer versions don't work with GHC 8.0.x - binary > 0.7 && < 0.8 # keep a 7.x major release around for older compilers - binary > 0.8 && < 0.9 # keep a 8.x major release around for older compilers