From c93a74426b3bd78795d4fc9a9000361971293fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 8 Oct 2010 06:53:35 +0000 Subject: [PATCH] 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 --- pkgs/tools/text/gnupatch/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix index ff469ddad25..782c0bec850 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 ? glibc) + if stdenv.isDarwin then fetchurl { # Temporary fix for # http://lists.gnu.org/archive/html/bug-patch/2010-01/msg00004.html .