git.iko.soy/typeable/nixpkgs
on master help sign in
uhc: convert build to Haskell NG
commit436fbf8564077ca84c2c8aaf8f538d1b425f42b7 authorPeter Simons <simons@cryp.to> dateThu 23 Apr 2015, 15:21 (12 years ago) parenta186500
2 files changed+4−8
pkgs/development/compilers/uhc/default.nix+3−6 pkgs/top-level/all-packages.nix+1−2
pkgs/development/compilers/uhc/default.nix+3−6
@@ -1,9 +1,6 @@
1−{ stdenv, coreutils, fetchgit, m4, libtool, clang, ghcWithPackages,
2− shuffle,
3− hashable, mtl, network, uhc-util, uulib
4−}:
1+{ stdenv, coreutils, fetchgit, m4, libtool, clang, ghcWithPackages }:
52
6−let wrappedGhc = ghcWithPackages ( self: [hashable mtl network uhc-util uulib] );
3+let wrappedGhc = ghcWithPackages (hpkgs: with hpkgs; [shuffle hashable mtl network uhc-util uulib] );
74in stdenv.mkDerivation rec {
85 version = "1.1.8.10";
96 name = "uhc-${version}";
@@ -16,7 +13,7 @@ in stdenv.mkDerivation rec {
1613
1714 postUnpack = "sourceRoot=\${sourceRoot}/EHC";
1815
19− buildInputs = [ m4 wrappedGhc clang libtool shuffle ];
16+ buildInputs = [ m4 wrappedGhc clang libtool ];
2017
2118 configureFlags = [ "--with-gcc=${clang}/bin/clang" ];
2219
pkgs/top-level/all-packages.nix+1−2
@@ -3749,8 +3749,7 @@ let
37493749
37503750 uhc = callPackage ../development/compilers/uhc/default.nix ({
37513751 stdenv = clangStdenv;
3752− ghcWithPackages = haskellngPackages.ghcWithPackages;
3753− inherit (haskellngPackages) shuffle hashable mtl network uhc-util uulib;
3752+ inherit (haskellPackages) ghcWithPackages;
37543753 });
37553754
37563755 gcc-arm-embedded-4_7 = callPackage_i686 ../development/compilers/gcc-arm-embedded {