gnu: grub: Fix build failure with recent flex.

* gnu/packages/bootloaders.scm (grub)[native-inputs]: Use flex-2.6.1.
This commit is contained in:
Leo Famulari 2017-03-07 22:38:35 -05:00
parent aac67f210d
commit af50d389c5
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -27,7 +27,6 @@ (define-module (gnu packages bootloaders)
#:use-module (gnu packages admin)
#:use-module ((gnu packages algebra) #:select (bc))
#:use-module (gnu packages assembly)
#:use-module (gnu packages flex)
#:use-module (gnu packages disk)
#:use-module (gnu packages bison)
#:use-module (gnu packages cdrom)
@ -115,7 +114,10 @@ (define-public grub
(native-inputs
`(("unifont" ,unifont)
("bison" ,bison)
("flex" ,flex)
;; Due to a bug in flex >= 2.6.2, GRUB must be built with an older flex:
;; <http://lists.gnu.org/archive/html/grub-devel/2017-02/msg00133.html>
;; TODO Try building with flex > 2.6.3.
("flex" ,flex-2.6.1)
("texinfo" ,texinfo)
("help2man" ,help2man)