diff --git a/pkgs/development/tools/misc/mig/default.nix b/pkgs/development/tools/misc/mig/default.nix index d09dc9dd4b03..68951e84e2d5 100644 --- a/pkgs/development/tools/misc/mig/default.nix +++ b/pkgs/development/tools/misc/mig/default.nix @@ -1,9 +1,11 @@ -{ fetchgit, stdenv, autoconf, automake, flex, bison, machHeaders -, cross ? null }: +{ fetchgit, stdenv, autoconf, automake, flex, bison, machHeaders }: -let rev = "4fee6a5652f609cb68cdbd9049d4da7a194f15f8"; in -stdenv.mkDerivation rec { - name = "mig-1.4-${rev}"; +let + date = "2010-05-12"; + rev = "master@{${date}}"; +in +stdenv.mkDerivation { + name = "mig-${date}"; src = fetchgit { url = "git://git.sv.gnu.org/hurd/mig.git"; @@ -15,8 +17,9 @@ stdenv.mkDerivation rec { preConfigure = "autoreconf -vfi"; - configureFlags = - stdenv.lib.optionalString (cross != null) "--build=${cross.config}"; + configureFlags = [ "--build=i586-pc-gnu" ]; + + doCheck = true; meta = { description = "GNU MIG, the Mach interface generator"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a59975f4af44..af68056a7086 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3256,10 +3256,10 @@ let inherit fetchurl stdenv builderDefs stringsWithDeps lib elfutils; }; - migCross = forceBuildDrv (import ../development/tools/misc/mig { + mig = import ../development/tools/misc/mig { inherit fetchgit stdenv autoconf automake flex bison machHeaders; - cross = assert crossSystem != null; crossSystem; - }); + }; + migCross = mig; # FIXME: Remove me. mk = import ../development/tools/build-managers/mk { inherit fetchurl stdenv;