From e4f30acb14b5d7bce542a80d17a81298b65e7f1c Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Sun, 25 Dec 2016 04:58:31 +0100 Subject: [PATCH] dmd: Fix build for Darwin --- pkgs/development/compilers/dmd/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/development/compilers/dmd/default.nix index 3435b94c32e..41162c4e50e 100644 --- a/pkgs/development/compilers/dmd/default.nix +++ b/pkgs/development/compilers/dmd/default.nix @@ -20,10 +20,6 @@ stdenv.mkDerivation rec { substituteInPlace src/dmd/posix.mak \ --replace g++ clang++ \ --replace MACOSX_DEPLOYMENT_TARGET MACOSX_DEPLOYMENT_TARGET_ - - # Was not able to compile on darwin due to "__inline_isnanl" - # being undefined. - substituteInPlace src/dmd/root/port.c --replace __inline_isnanl __inline_isnan ''; # Buid and install are based on http://wiki.dlang.org/Building_DMD