mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: grub: Fix build failure with recent flex.
* gnu/packages/flex.scm (flex-2.6.1): New variable. * gnu/packages/bootloaders.scm (grub)[native-inputs]: Use flex-2.6.1.
This commit is contained in:
parent
851ff8a5c5
commit
0a3aca47d9
2 changed files with 17 additions and 1 deletions
|
@ -118,7 +118,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.4.
|
||||
("flex" ,flex-2.6.1)
|
||||
("texinfo" ,texinfo)
|
||||
("help2man" ,help2man)
|
||||
|
||||
|
|
|
@ -85,3 +85,16 @@ (define-public flex
|
|||
executes the corresponding C code.")
|
||||
(license (non-copyleft "file://COPYING"
|
||||
"See COPYING in the distribution."))))
|
||||
|
||||
(define-public flex-2.6.1
|
||||
(package
|
||||
(inherit flex)
|
||||
(version "2.6.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/westes/flex"
|
||||
"/releases/download/v" version "/"
|
||||
"flex-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0gqhk4vkwy4gl9xbpgkljph8c0a5kpijz6wd0p5r9q202qn42yic"))))))
|
||||
|
|
Loading…
Reference in a new issue