From ef93d7ea28b3186076cc05bef8e0494536521d8b Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 22 Oct 2025 12:39:00 +0900 Subject: [PATCH] gnu: flex: Move bison-for-tests input to native inputs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- gnu/packages/flex.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm index 1e08dbd0e5..8f8c9a8e8c 100644 --- a/gnu/packages/flex.scm +++ b/gnu/packages/flex.scm @@ -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")