diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-10-22 12:39:00 +0900 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-04-02 12:54:43 +0200 |
| commit | ef93d7ea28b3186076cc05bef8e0494536521d8b (patch) | |
| tree | bdbc06469dec5bcc81185b571a2d99c6562fb37b /gnu | |
| parent | a53bddbee1ad50a60bcd6832d493de304dcd2e32 (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/flex.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm index 1e08dbd0e5c..8f8c9a8e8c2 100644 --- a/gnu/packages/flex.scm +++ b/gnu/packages/flex.scm | |||
| @@ -55,9 +55,8 @@ | |||
| 55 | '())) | 55 | '())) |
| 56 | ;; m4 is not present in PATH when cross-building | 56 | ;; m4 is not present in PATH when cross-building |
| 57 | (native-inputs | 57 | (native-inputs |
| 58 | (list help2man m4)) | 58 | (let ((bison-for-tests |
| 59 | (inputs | 59 | (package |
| 60 | (list (package | ||
| 61 | (inherit bison) | 60 | (inherit bison) |
| 62 | (arguments | 61 | (arguments |
| 63 | ;; Disable tests, since they require flex. | 62 | ;; Disable tests, since they require flex. |
| @@ -65,6 +64,7 @@ | |||
| 65 | ((#:tests? _ #f) #f))) | 64 | ((#:tests? _ #f) #f))) |
| 66 | (inputs (modify-inputs inputs | 65 | (inputs (modify-inputs inputs |
| 67 | (delete "flex")))))) | 66 | (delete "flex")))))) |
| 67 | (list bison-for-tests help2man m4))) | ||
| 68 | (propagated-inputs (list m4)) | 68 | (propagated-inputs (list m4)) |
| 69 | (home-page "https://github.com/westes/flex") | 69 | (home-page "https://github.com/westes/flex") |
| 70 | (synopsis "Fast lexical analyser generator") | 70 | (synopsis "Fast lexical analyser generator") |
