From f15ca337bec89f238b9b9ced08c2e02c35629a33 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 26 Jan 2022 10:14:51 +0100 Subject: gnu: nyacc: Install all modules. * gnu/packages/mes.scm (nyacc)[arguments]: Add build phase 'install-system-module. [propagated-inputs]: Add guile-bytestructures. --- gnu/packages/mes.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index 5115374514..8ced184a5f 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2017, 2018, 2019, 2020, 2021 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2017, 2018 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice -;;; Copyright © 2020, 2021 Ricardo Wurmus +;;; Copyright © 2020, 2021, 2022 Ricardo Wurmus ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Arun Isaac ;;; @@ -120,8 +120,13 @@ $prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n"))))) (lambda _ (substitute* "module/nyacc/lang/c99/parser.scm" (("\\(memq \\(car stmt\\) '\\(include include-next\\)\\)") - "(memq (car stmt) '(include include-next define))"))))))) + "(memq (car stmt) '(include include-next define))")))) + (add-after 'unpack 'install-system-module + (lambda _ + (substitute* "module/Makefile.in" + (("@NYACC_FH_BINS@") "$(NYACC_FH_BINS)"))))))) (inputs (list guile-3.0)) + (propagated-inputs (list guile-bytestructures)) (description "@acronym{NYACC, Not Yet Another Compiler Compiler} is set of Guile modules for generating parsers and lexical analyzers. It provides sample parsers, -- cgit v1.2.3