[Nix-dev] Fwd: Patch darwin-related; please review

Lluís Batlle i Rossell viriketo at gmail.com
Fri Oct 8 10:06:01 CEST 2010


Hello,

I made this commit and I want to make sure darwin people review it. Let me know
if it will not work enough on darwin.

Thank you,
Lluís.

----- Forwarded message from =?ISO-8859-1?Q?Llu=EDs_Batlle_ <viriketo at gmail.com>, ?= -----

Date: Fri, 08 Oct 2010 06:53:35 +0000
From: Lluís Batlle <viriketo at gmail.com>
Subject: [Nix-commits] SVN commit: nix - r24171 -
	nixpkgs/branches/stdenv-updates/pkgs/tools/text/gnupatch
To: nix-commits at cs.uu.nl

Author: viric
Date: Fri Oct  8 06:53:35 2010
New Revision: 24171
URL: https://svn.nixos.org/websvn/nix/?rev=24171&sc=1

Log:
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.

Modified:
   nixpkgs/branches/stdenv-updates/pkgs/tools/text/gnupatch/default.nix

Modified: nixpkgs/branches/stdenv-updates/pkgs/tools/text/gnupatch/default.nix
==============================================================================
--- nixpkgs/branches/stdenv-updates/pkgs/tools/text/gnupatch/default.nix	Fri Oct  8 05:59:40 2010	(r24170)
+++ nixpkgs/branches/stdenv-updates/pkgs/tools/text/gnupatch/default.nix	Fri Oct  8 06:53:35 2010	(r24171)
@@ -4,7 +4,7 @@
   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 .
_______________________________________________
nix-commits mailing list
nix-commits at cs.uu.nl
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

----- End forwarded message -----



More information about the nix-dev mailing list