From 930b01ab3d6066d2a7313c3d54d392d8e040630f Mon Sep 17 00:00:00 2001 From: Thomas Mader Date: Mon, 28 Aug 2017 17:00:45 +0200 Subject: [PATCH] dtools: Fix rdmd test when building with newer phobos version which doesn't include std.stdiobase.d anymore. --- pkgs/development/tools/dtools/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/dtools/default.nix b/pkgs/development/tools/dtools/default.nix index 4d93eda24df7..0d639875da57 100644 --- a/pkgs/development/tools/dtools/default.nix +++ b/pkgs/development/tools/dtools/default.nix @@ -17,6 +17,10 @@ stdenv.mkDerivation rec { substituteInPlace posix.mak \ --replace gcc $CC + + # To fix rdmd test with newer phobos + substituteInPlace rdmd.d \ + --replace " std.stdiobase," "" ''; nativeBuildInputs = [ dmd ];