From 984b0cbd8afdc07c55f83a31fe809113afd9641d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 3 Nov 2014 18:32:35 +0100 Subject: [PATCH] uhc: remove broken package https://github.com/NixOS/nixpkgs/issues/3565 --- pkgs/development/compilers/uhc/default.nix | 48 ---------------------- pkgs/top-level/haskell-packages.nix | 2 - 2 files changed, 50 deletions(-) delete mode 100644 pkgs/development/compilers/uhc/default.nix diff --git a/pkgs/development/compilers/uhc/default.nix b/pkgs/development/compilers/uhc/default.nix deleted file mode 100644 index 2f179d17548..00000000000 --- a/pkgs/development/compilers/uhc/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ stdenv, coreutils, glibc, fetchgit, m4, libtool, ghc, uulib -, uuagc, mtl, network, binary, llvm, fgl, syb -}: - -# this check won't be needed anymore after ghc-wrapper is fixed -# to show ghc-builtin packages in "ghc-pkg list" output. -let binaryIsBuiltIn = builtins.compareVersions "7.2.1" ghc.version != 1; - -in stdenv.mkDerivation { - name = "uhc-svn-git20120502"; - - src = fetchgit { - url = "https://github.com/UU-ComputerScience/uhc.git"; - rev = "ab26d787657bb729d8a4f92ef5d067d9990f6ce3"; - sha256 = "66c5b6d95dc80a652f6e17476a1b18fbef4b4ff6199a92d033f0055526ec97ff"; - }; - - postUnpack = "sourceRoot=\${sourceRoot}/EHC"; - - propagatedBuildInputs = [mtl network binary fgl syb]; - buildInputs = [coreutils m4 ghc libtool uulib uuagc]; - - # Can we rename this flag to "--with-cpp-uhc-options"? - configureFlags = "--with-cpp-ehc-options=-I${glibc}/include"; - - # UHC builds packages during compilation; these are by default - # installed in the user-specific package config file. We do not - # want that, and hack the build process to use a temporary package - # configuration file instead. - preConfigure = '' - p=`pwd`/uhc-local-packages - echo '[]' > $p - sed -i "s|--user|--package-db=$p|g" mk/shared.mk.in - sed -i "s|-fglasgow-exts|-fglasgow-exts -package-conf=$p|g" mk/shared.mk.in - sed -i "s|/bin/date|${coreutils}/bin/date|g" mk/dist.mk - sed -i "s|/bin/date|${coreutils}/bin/date|g" mk/config.mk.in - '' + stdenv.lib.optionalString binaryIsBuiltIn '' - sed -i "s|ghcLibBinary=no|ghcLibBinaryExists=yes|" configure - ''; - - meta = { - homepage = "http://www.cs.uu.nl/wiki/UHC"; - description = "Utrecht Haskell Compiler"; - platforms = stdenv.lib.platforms.linux; - hydraPlatforms = stdenv.lib.platforms.none; - broken = true; - }; -} diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 40057d684f7..6749a1d4764 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -3007,8 +3007,6 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in Agda = callPackage ../development/compilers/agda { haskellSrcExts = self.haskellSrcExts_1_15_0_1; }; - uhc = callPackage ../development/compilers/uhc {}; - epic = callPackage ../development/compilers/epic {}; pakcs = callPackage ../development/compilers/pakcs {};