about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/w3m
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-09-02 20:09:27 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-09-02 20:09:27 +0000
commit0a50f8cc6a57b14b73f838b3c1e9177705bead55 (patch)
tree8c7d198a254afa138fa0a15bff15c25609d999b3 /pkgs/applications/networking/browsers/w3m
parent488d9103a78bd562f781383acf33b29f91c99eca (diff)
Fixing the w3m build on non-mips (this may allow having the 'tarball' built)
svn path=/nixpkgs/branches/stdenv-updates/; revision=23604
Diffstat (limited to 'pkgs/applications/networking/browsers/w3m')
-rw-r--r--pkgs/applications/networking/browsers/w3m/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/w3m/default.nix b/pkgs/applications/networking/browsers/w3m/default.nix
index a472bd69c84bf..6844e582026c0 100644
--- a/pkgs/applications/networking/browsers/w3m/default.nix
+++ b/pkgs/applications/networking/browsers/w3m/default.nix
@@ -16,7 +16,9 @@ stdenv.mkDerivation {
     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