summary refs log tree commit diff
path: root/pkgs/tools/text/gnupatch
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-10-08 06:53:35 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-10-08 06:53:35 +0000
commitc93a74426b3bd78795d4fc9a9000361971293fa1 (patch)
treeb5c19ce43e4d07af3dcb701d75a988f88384285c /pkgs/tools/text/gnupatch
parentaedebd300f426a32448b70b03a65592af03e139a (diff)
downloadnixlib-c93a74426b3bd78795d4fc9a9000361971293fa1.tar
nixlib-c93a74426b3bd78795d4fc9a9000361971293fa1.tar.gz
nixlib-c93a74426b3bd78795d4fc9a9000361971293fa1.tar.bz2
nixlib-c93a74426b3bd78795d4fc9a9000361971293fa1.tar.lz
nixlib-c93a74426b3bd78795d4fc9a9000361971293fa1.tar.xz
nixlib-c93a74426b3bd78795d4fc9a9000361971293fa1.tar.zst
nixlib-c93a74426b3bd78795d4fc9a9000361971293fa1.zip
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
Diffstat (limited to 'pkgs/tools/text/gnupatch')
-rw-r--r--pkgs/tools/text/gnupatch/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix
index ff469ddad25b..782c0bec8508 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 .