jhc: drop broken Haskell compiler

This commit is contained in:
Peter Simons 2017-12-26 15:11:44 +01:00
parent 7f91eb94be
commit b03ac7d22b
3 changed files with 1 additions and 38 deletions

View File

@ -1,32 +0,0 @@
{ stdenv, fetchurl, perl, ghcWithPackages }:
let ghc = ghcWithPackages (hpkgs: with hpkgs; [
binary zlib utf8-string readline fgl regex-compat HsSyck random
]);
in
stdenv.mkDerivation rec {
name = "jhc-${version}";
version = "0.8.2";
src = fetchurl {
url = "http://repetae.net/dist/${name}.tar.gz";
sha256 = "0lrgg698mx6xlrqcylba9z4g1f053chrzc92ri881dmb1knf83bz";
};
buildInputs = [ perl ghc ];
preConfigure = ''
configureFlagsArray+=("CC=cc")
configureFlagsArray+=("--with-hsc2hs=${ghc}/bin/hsc2hs --cc=cc")
'';
meta = {
description = "Whole-program, globally optimizing Haskell compiler";
homepage = http://repetae.net/computer/jhc/;
license = stdenv.lib.licenses.bsd3;
platforms = ["x86_64-linux"]; # 32 bit builds are broken
maintainers = with stdenv.lib.maintainers; [ aforemny thoughtpolice ];
broken = true; # https://hydra.nixos.org/build/61700723
};
}

View File

@ -79,7 +79,7 @@ mapAliases (rec {
htmlTidy = html-tidy; # added 2014-12-06
iana_etc = iana-etc; # added 2017-03-08
idea = jetbrains; # added 2017-04-03
inherit (haskell.compiler) jhc uhc; # 2015-05-15
inherit (haskell.compiler) uhc; # 2015-05-15
inotifyTools = inotify-tools;
joseki = apache-jena-fuseki; # added 2016-02-28
jquery_ui = jquery-ui; # added 2014-09-07

View File

@ -13,7 +13,6 @@ let
"ghcjs"
"ghcjsHEAD"
"ghcCross"
"jhc"
"uhc"
"integer-simple"
];
@ -91,10 +90,6 @@ in rec {
inherit (bootPkgs) hscolour alex happy;
};
jhc = callPackage ../development/compilers/jhc {
inherit (packages.ghc763) ghcWithPackages;
};
uhc = callPackage ../development/compilers/uhc/default.nix ({
stdenv = pkgs.clangStdenv;
inherit (pkgs.haskellPackages) ghcWithPackages;