From 597b0b0144b514cdf77d4bead891b50e83c58969 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Fri, 22 Jul 2016 23:42:50 +0200 Subject: [PATCH] gradm: fix build on i686 This is a regression introduced by my update at e4b7b7b028e0ce724ea6e4bfad156b78d7ef7b8e Turns out this was actually required to build the package on i686; without it, the build fails with ``` /nix/store/[...]-flex-2.6.0/lib/libfl.so: undefined reference to `yylex' ``` for some reason ... the easiest solution is to just use flex_2_5_35, which does build successfully. --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9a7f6a2fb5d0..c0d2f15dcde9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10848,7 +10848,9 @@ in gpm-ncurses = self.gpm.override { inherit ncurses; }; - gradm = callPackage ../os-specific/linux/gradm { }; + gradm = callPackage ../os-specific/linux/gradm { + flex = flex_2_5_35; + }; hdparm = callPackage ../os-specific/linux/hdparm { };