guix_mirror_bot pushed a commit to branch core-packages-team in repository guix.
commit 6d43f8c0246f8a2175c29bba41c6c60e67efe7ba Author: Maxim Cournoyer <[email protected]> AuthorDate: Wed Oct 22 12:39:00 2025 +0900 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/compiler-tools.scm (flex) [inputs]: Delete field, moving bison-for-tests... [native-inputs]: ... here. Change-Id: I7fa30de00b1a6386d495403a619f412daa9d1ab5 Signed-off-by: Ludovic Courtès <[email protected]> Signed-off-by: Zheng Junjie <[email protected]> --- gnu/packages/compiler-tools.scm | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/gnu/packages/compiler-tools.scm b/gnu/packages/compiler-tools.scm index 2384ba3c0a7..a8661d85683 100644 --- a/gnu/packages/compiler-tools.scm +++ b/gnu/packages/compiler-tools.scm @@ -139,18 +139,19 @@ prefixes of other terminals.") "ac_cv_func_realloc_0_nonnull=yes")) '())) (native-inputs - (list ;; m4 is not present in PATH when cross-building - m4)) - (inputs - (list - (package - (inherit bison) - (arguments - ;; Disable tests, since they require flex. - (substitute-keyword-arguments arguments - ((#:tests? _ #f) #f))) - (inputs (modify-inputs inputs - (delete "flex")))))) + (let ((bison-for-tests + (package + (inherit bison) + (arguments + ;; Disable tests, since they require flex. + (substitute-keyword-arguments arguments + ((#:tests? _ #f) #f))) + (inputs (modify-inputs inputs + (delete "flex")))))) + (list bison-for-tests + help2man + ;; m4 is not present in PATH when cross-building + m4))) (propagated-inputs (list m4)) (home-page "https://github.com/westes/flex") (synopsis "Fast lexical analyser generator")
