From 297ea7550caa2f27dbdde17c526350e148c6be79 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 1 Dec 2016 20:01:35 +0100 Subject: [PATCH] haskellPackages.ghc-core: Revert "0.5.6 -> 2012-12-15" This reverts commit c1b919ff5c13103017e750fb6a7a1dfdeaf23394. That kind of change is a maintenance nightmare because it unconditionally overrides the package's version specified in hackage-packages.nix with something else, i.e. no future update will ever have an effect. This is not the proper way to do it. The proper way is to add the relevant commit from Github as a patch. --- .../haskell-modules/configuration-common.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 766f7f793b5..4f9c32a1414 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1113,17 +1113,6 @@ self: super: { socket_0_7_0_0 = super.socket_0_7_0_0.overrideScope (self: super: { QuickCheck = self.QuickCheck_2_9_2; }); - # 0.5.6 invokes $PAGER in a way that crashes if there are args such as $PAGER="less -R" - ghc-core = overrideCabal super.ghc-core (drv: { - src = pkgs.fetchFromGitHub { - owner = "shachaf"; - repo = "ghc-core"; - rev = "630196adf0bebf073328325302453ef1c409fd9a"; - sha256 = "05jzpjy5zkri2faw5jnq5vh12mx58lrb0zfzz4h598miq2vc8848"; - }; - version = "2012-12-15"; - }); - # Encountered missing dependencies: hspec >=1.3 && <2.1 # https://github.com/rampion/ReadArgs/issues/8 ReadArgs = doJailbreak super.ReadArgs;