From 6e5eaf58a30340143a595db37815609e95367938 Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Tue, 28 Feb 2017 22:15:02 +0000 Subject: [PATCH] purescript: pin dependencies. --- .../haskell-modules/configuration-common.nix | 10 ++++++++++ .../haskell-modules/configuration-hackage2nix.yaml | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 8811a7b093a..065ccdc9de3 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -448,6 +448,16 @@ self: super: { apiary-session = dontCheck super.apiary-session; apiary-websockets = dontCheck super.apiary-websockets; + # See instructions provided by Peti in https://github.com/NixOS/nixpkgs/issues/23036 + purescript = super.purescript.overrideScope (self: super: { + # TODO: Re-evaluate the following overrides after the 0.11 release. + aeson = self.aeson_0_11_3_0; + http-client = self.http-client_0_4_31_2; + http-client-tls = self.http-client-tls_0_2_4_1; + pipes = self.pipes_4_2_0; + websockets = self.websockets_0_9_8_2; + }); + # HsColour: Language/Unlambda.hs: hGetContents: invalid argument (invalid byte sequence) unlambda = dontHyperlinkSource super.unlambda; diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index 47fb3f7f87f..02a6819b516 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -2247,6 +2247,13 @@ extra-packages: - transformers == 0.4.3.* # the latest version isn't supported by mtl yet - vector < 0.10.10 # newer versions don't work with GHC 6.12.3 - zlib < 0.6 # newer versions break cabal-install + - aeson == 0.11.3.0 # purescript 0.10.7 + - bower-json == 1.0.0.1 # purescript 0.10.7 + - optparse-applicative == 0.13.1.0 # purescript 0.10.7 + - http-client == 0.4.31.2 # purescript 0.10.7 + - http-client-tls == 0.2.4.1 # purescript 0.10.7 + - pipes == 4.2.0 # purescript 0.10.7 + - websockets == 0.9.8.2 # purescript 0.10.7 package-maintainers: peti: @@ -6764,7 +6771,6 @@ dont-distribute-packages: pure-priority-queue-tests: [ i686-linux, x86_64-linux, x86_64-darwin ] purescript-bridge: [ i686-linux, x86_64-linux, x86_64-darwin ] purescript-bundle-fast: [ i686-linux, x86_64-linux, x86_64-darwin ] - purescript: [ i686-linux, x86_64-linux, x86_64-darwin ] pure-zlib: [ i686-linux, x86_64-linux, x86_64-darwin ] pusher-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ] pusher-http-haskell: [ i686-linux, x86_64-linux, x86_64-darwin ]