From 55e191d8445743112660a801f3cfeda75a76ec2a Mon Sep 17 00:00:00 2001 From: Leon Isenberg Date: Sat, 8 Apr 2017 12:57:37 +0200 Subject: [PATCH] haskell: Correct dependencies for haskell-tools-*_0_6_0_0 --- .../haskell-modules/configuration-common.nix | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 643f71f9f874..643940797bc6 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -875,4 +875,34 @@ self: super: { # https://github.com/danidiaz/tailfile-hinotify/issues/2 tailfile-hinotify = dontCheck super.tailfile-hinotify; -} +} // (let scope' = self: super: { + haskell-tools-ast = super.haskell-tools-ast_0_6_0_0; + haskell-tools-backend-ghc = super.haskell-tools-backend-ghc_0_6_0_0; + haskell-tools-cli = super.haskell-tools-cli_0_6_0_0; + haskell-tools-daemon = super.haskell-tools-daemon_0_6_0_0; + haskell-tools-debug = super.haskell-tools-debug_0_6_0_0; + haskell-tools-demo = super.haskell-tools-demo_0_6_0_0; + haskell-tools-prettyprint = super.haskell-tools-prettyprint_0_6_0_0; + haskell-tools-refactor = super.haskell-tools-refactor_0_6_0_0; + haskell-tools-rewrite = super.haskell-tools-rewrite_0_6_0_0; + }; + in { + haskell-tools-ast_0_6_0_0 = + super.haskell-tools-ast_0_6_0_0.overrideScope scope'; + haskell-tools-backend-ghc_0_6_0_0 = + super.haskell-tools-backend-ghc_0_6_0_0.overrideScope scope'; + haskell-tools-cli_0_6_0_0 = + dontCheck (super.haskell-tools-cli_0_6_0_0.overrideScope scope'); + haskell-tools-daemon_0_6_0_0 = + dontCheck (super.haskell-tools-daemon_0_6_0_0.overrideScope scope'); + haskell-tools-debug_0_6_0_0 = + super.haskell-tools-debug_0_6_0_0.overrideScope scope'; + haskell-tools-demo_0_6_0_0 = + super.haskell-tools-demo_0_6_0_0.overrideScope scope'; + haskell-tools-prettyprint_0_6_0_0 = + super.haskell-tools-prettyprint_0_6_0_0.overrideScope scope'; + haskell-tools-refactor_0_6_0_0 = + super.haskell-tools-refactor_0_6_0_0.overrideScope scope'; + haskell-tools-rewrite_0_6_0_0 = + super.haskell-tools-rewrite_0_6_0_0.overrideScope scope'; + })