This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new cdb262e993 gnu: mawk: Remove generated file.
cdb262e993 is described below
commit cdb262e993a2ffdf49f7995cc12fa523d4578c05
Author: Efraim Flashner <[email protected]>
AuthorDate: Thu Oct 10 18:14:41 2024 +0300
gnu: mawk: Remove generated file.
* gnu/packages/gawk.scm (mawk)[source]: Adjust snippet to remove
pre-generated file.
[arguments]: Don't build in parallel.
[native-inputs]: Add bison.
Change-Id: Ibc1c5128041a20a00ef6445f4e75ce1ff1e8bd97
---
gnu/packages/gawk.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index 436f0f435c..cea58bd415 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -25,6 +25,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages gcc)
#:use-module (gnu packages libsigsegv)
#:use-module (gnu packages multiprecision)
@@ -148,11 +149,17 @@ block-scoped lexical variables."))))
(modules '((guix build utils)))
(snippet
'(begin
+ ;; Delete file generated by bison.
+ (delete-file "parse.c")
;; Prevent tests from hard coding PATH to a bogus value.
(substitute* '("test/mawktest" "test/fpe_test")
(("^PATH=.*")
""))))))
(build-system gnu-build-system)
+ (arguments
+ (list #:parallel-build? #f)) ; Prevent a race condition.
+ (native-inputs
+ (list bison))
(synopsis "Text scanning and processing language")
(description
"@command{mawk} is an interpreter for the Awk programming language.