GNU Patch: Fix for BSDs.

svn path=/nixpkgs/branches/stdenv-updates/; revision=19522
This commit is contained in:
Ludovic Courtès 2010-01-18 14:54:46 +00:00
parent bf1ffcc595
commit 907be69b26

View File

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "patch-2.6.1"; name = "patch-2.6.1";
src = src =
if stdenv.isDarwin if !(stdenv ? glibc)
then fetchurl { then fetchurl {
# Temporary fix for # Temporary fix for
# http://lists.gnu.org/archive/html/bug-patch/2010-01/msg00004.html . # http://lists.gnu.org/archive/html/bug-patch/2010-01/msg00004.html .