summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-07-29 10:14:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2025-07-29 10:18:14 +0300
commit76152bfaa8cc62b9b0be0823828180ef0bb5f879 (patch)
tree1f49e3f49c13f651f225124414cae2dac63b9038 /gnu
parent293cca33249c408384e06ce4c1291a6a5be93f41 (diff)
gnu: byacc: Remove generated files.
* gnu/packages/c.scm (byacc)[source]: Add snippet. [native-inputs]: Add gawk. Change-Id: I225372704e4ebe780d1e117d11d8115de5bc3523
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/c.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 06b333ef32f..d25777fdd58 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2016, 2017, 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018, 2020–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
-;;; Copyright © 2019, 2020, 2022-2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019, 2020, 2022-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
@@ -60,6 +60,7 @@
#:use-module (gnu packages bison)
#:use-module (gnu packages check)
#:use-module (gnu packages flex)
+ #:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages perl)
#:use-module (gnu packages texinfo)
@@ -1016,7 +1017,12 @@ portability.")
version ".tgz"))
(sha256
(base32
- "0il4w1vwbglayakywyghiqhcjpg1yvv5ww2p8ylz32bi05wpg2gj"))))
+ "0il4w1vwbglayakywyghiqhcjpg1yvv5ww2p8ylz32bi05wpg2gj"))
+ (snippet
+ #~(begin (delete-file "btyaccpar.c")
+ (delete-file "yaccpar.c")))))
+ (native-inputs
+ (list gawk))
(build-system gnu-build-system)
(home-page "https://invisible-island.net/byacc/byacc.html")
(synopsis "Berkeley Yacc LALR parser generator")