From 135e6b1b14d2ba66eff2393ca92caa073f7e9bc8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 2 Aug 2007 22:59:12 +0000 Subject: [PATCH] * pam_console doesn't compile on 64-bit Linux with the latest flex, so use an older flex. svn path=/nixpkgs/trunk/; revision=9033 --- pkgs/top-level/all-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 13098fa4109..0daa429650c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2582,7 +2582,8 @@ rec { }; pam_console = import ../os-specific/linux/pam_console { - inherit stdenv fetchurl pam autoconf automake libtool pkgconfig bison flex; + inherit stdenv fetchurl pam autoconf automake libtool pkgconfig bison; + flex = if stdenv.system == "i686-linux" then flex else flex2533; inherit (gtkLibs) glib; };