1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: flex: Move bison-for-tests input to native inputs.

If it's truly for tests, it ought to be a native inputs.

* gnu/packages/flex.scm (flex) [inputs]: Delete field, moving bison-for-tests...
[native-inputs]: ... here.

Change-Id: I7fa30de00b1a6386d495403a619f412daa9d1ab5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Maxim Cournoyer
2025-10-22 12:39:00 +09:00
committed by Ludovic Courtès
parent a53bddbee1
commit ef93d7ea28

View File

@@ -55,9 +55,8 @@
'()))
;; m4 is not present in PATH when cross-building
(native-inputs
(list help2man m4))
(inputs
(list (package
(let ((bison-for-tests
(package
(inherit bison)
(arguments
;; Disable tests, since they require flex.
@@ -65,6 +64,7 @@
((#:tests? _ #f) #f)))
(inputs (modify-inputs inputs
(delete "flex"))))))
(list bison-for-tests help2man m4)))
(propagated-inputs (list m4))
(home-page "https://github.com/westes/flex")
(synopsis "Fast lexical analyser generator")