Fixing the gnupatch url; it was taking the alpha snapshot for all the platforms

at the time of building the stdenv (because there !(stdenv ? glibc)).
I changed that to stdenv.isDarwin, in a guess that it may work for those who
experienced problems with the last patch release.

svn path=/nixpkgs/branches/stdenv-updates/; revision=24171
This commit is contained in:
Lluís Batlle i Rossell 2010-10-08 06:53:35 +00:00
parent aedebd300f
commit c93a74426b

View File

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