From 614c40a1e1b11683edfeb12d5415c2d4f7f6038d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 26 Nov 2010 18:43:55 +0000 Subject: [PATCH] Adding the 'gzip' dependency to lynx (important cross-building). Otherwise, on a cross-built lynx, it cannot gunzip pages that came in gzip-compressed. (It was calling the host gzip, a lynx dependency, before) svn path=/nixpkgs/branches/stdenv-updates/; revision=24882 --- pkgs/applications/networking/browsers/lynx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/lynx/default.nix b/pkgs/applications/networking/browsers/lynx/default.nix index ed13fb550e5b..c0175fc6a703 100644 --- a/pkgs/applications/networking/browsers/lynx/default.nix +++ b/pkgs/applications/networking/browsers/lynx/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses +{ stdenv, fetchurl, ncurses, gzip , sslSupport ? true, openssl ? null }: @@ -14,7 +14,7 @@ stdenv.mkDerivation { configureFlags = if sslSupport then "--with-ssl" else ""; - buildInputs = [ ncurses ] ++ stdenv.lib.optional sslSupport openssl; + buildInputs = [ ncurses gzip ] ++ stdenv.lib.optional sslSupport openssl; buildNativeInputs = [ ncurses ]; crossAttrs = {