From bb57eeccde9245a9fd7710daa81380d89a498bdf Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 5 Nov 2016 22:56:13 +0100 Subject: [PATCH] Revert "dmd: 2.067.1 -> 2.070.2" This reverts commit 50a579f1921e580727127cb679c259639a421aab. Building with AUTO_BOOTSTRAP=1 will download pre-compiled dmd binaries during the build phase: https://github.com/NixOS/nixpkgs/pull/15256#r62290617 --- pkgs/development/compilers/dmd/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/development/compilers/dmd/default.nix index e92ea095f724..12e8745ece16 100644 --- a/pkgs/development/compilers/dmd/default.nix +++ b/pkgs/development/compilers/dmd/default.nix @@ -1,12 +1,11 @@ { stdenv, fetchurl, unzip, curl, makeWrapper }: -stdenv.mkDerivation rec { - name = "dmd-${version}"; - version = "2.070.2"; +stdenv.mkDerivation { + name = "dmd-2.067.1"; src = fetchurl { - url = "http://downloads.dlang.org/releases/2.x/${version}/dmd.${version}.zip"; - sha256 = "1pbhxxf41v816j0aky3q2pcd8a6phy3363l7vr5r5pg8ps3gl701"; + url = http://downloads.dlang.org/releases/2015/dmd.2.067.1.zip; + sha256 = "0ny99vfllvvgcl79pwisxcdnb3732i827k9zg8c0j4s0n79k5z94"; }; buildInputs = [ unzip curl makeWrapper ]; @@ -25,7 +24,7 @@ stdenv.mkDerivation rec { # Buid and install are based on http://wiki.dlang.org/Building_DMD buildPhase = '' cd src/dmd - make -f posix.mak INSTALL_DIR=$out AUTO_BOOTSTRAP=1 + make -f posix.mak INSTALL_DIR=$out export DMD=$PWD/dmd cd ../druntime make -f posix.mak INSTALL_DIR=$out DMD=$DMD