uhc: convert build to Haskell NG
This commit is contained in:
parent
a186500417
commit
436fbf8564
@ -1,9 +1,6 @@
|
|||||||
{ stdenv, coreutils, fetchgit, m4, libtool, clang, ghcWithPackages,
|
{ stdenv, coreutils, fetchgit, m4, libtool, clang, ghcWithPackages }:
|
||||||
shuffle,
|
|
||||||
hashable, mtl, network, uhc-util, uulib
|
|
||||||
}:
|
|
||||||
|
|
||||||
let wrappedGhc = ghcWithPackages ( self: [hashable mtl network uhc-util uulib] );
|
let wrappedGhc = ghcWithPackages (hpkgs: with hpkgs; [shuffle hashable mtl network uhc-util uulib] );
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "1.1.8.10";
|
version = "1.1.8.10";
|
||||||
name = "uhc-${version}";
|
name = "uhc-${version}";
|
||||||
@ -16,7 +13,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/EHC";
|
postUnpack = "sourceRoot=\${sourceRoot}/EHC";
|
||||||
|
|
||||||
buildInputs = [ m4 wrappedGhc clang libtool shuffle ];
|
buildInputs = [ m4 wrappedGhc clang libtool ];
|
||||||
|
|
||||||
configureFlags = [ "--with-gcc=${clang}/bin/clang" ];
|
configureFlags = [ "--with-gcc=${clang}/bin/clang" ];
|
||||||
|
|
||||||
|
@ -3749,8 +3749,7 @@ let
|
|||||||
|
|
||||||
uhc = callPackage ../development/compilers/uhc/default.nix ({
|
uhc = callPackage ../development/compilers/uhc/default.nix ({
|
||||||
stdenv = clangStdenv;
|
stdenv = clangStdenv;
|
||||||
ghcWithPackages = haskellngPackages.ghcWithPackages;
|
inherit (haskellPackages) ghcWithPackages;
|
||||||
inherit (haskellngPackages) shuffle hashable mtl network uhc-util uulib;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
gcc-arm-embedded-4_7 = callPackage_i686 ../development/compilers/gcc-arm-embedded {
|
gcc-arm-embedded-4_7 = callPackage_i686 ../development/compilers/gcc-arm-embedded {
|
||||||
|
Loading…
Reference in New Issue
Block a user