Author: viric
Date: Thu Sep  2 20:09:27 2010
New Revision: 23604
URL: https://svn.nixos.org/websvn/nix/?rev=23604&sc=1

Log:
Fixing the w3m build on non-mips (this may allow having the 'tarball' built)

Modified:
   
nixpkgs/branches/stdenv-updates/pkgs/applications/networking/browsers/w3m/default.nix

Modified: 
nixpkgs/branches/stdenv-updates/pkgs/applications/networking/browsers/w3m/default.nix
==============================================================================
--- 
nixpkgs/branches/stdenv-updates/pkgs/applications/networking/browsers/w3m/default.nix
       Thu Sep  2 19:30:20 2010        (r23603)
+++ 
nixpkgs/branches/stdenv-updates/pkgs/applications/networking/browsers/w3m/default.nix
       Thu Sep  2 20:09:27 2010        (r23604)
@@ -16,7 +16,9 @@
     md5 = "ba06992d3207666ed1bf2dcf7c72bf58";
   };
 
-  patches = [ ./newgc.patch ];
+  # Patch for the newer unstable boehm-gc 7.2alpha. Not all platforms use that
+  # alpha. At the time of writing this, boehm-gc-7.1 is the last stable.
+  patches = stdenv.lib.optional (boehmgc.name != "boehm-gc-7.1") [ 
./newgc.patch ];
 
   buildInputs = [ncurses boehmgc gettext zlib]
     ++ stdenv.lib.optional sslSupport openssl
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to