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.
This commit is contained in:
Peter Simons 2016-12-01 20:01:35 +01:00
parent a571edecd0
commit 297ea7550c

View File

@ -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;