diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix index b97c216df2b..cd2a67f6993 100644 --- a/pkgs/tools/text/gnupatch/default.nix +++ b/pkgs/tools/text/gnupatch/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation rec { name = "patch-2.6.1"; src = - if stdenv.isDarwin + if !(stdenv ? glibc) then fetchurl { # Temporary fix for # http://lists.gnu.org/archive/html/bug-patch/2010-01/msg00004.html .