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";
src =
if stdenv.isDarwin
if !(stdenv ? glibc)
then fetchurl {
# Temporary fix for
# http://lists.gnu.org/archive/html/bug-patch/2010-01/msg00004.html .