Subject: [PATCH rust-team v2 45/68] gnu: rust-lalrpop-0.17: Fix build

From: Aaron Covrig <[email-masked]>
Date: Tue, 18 Mar 2025 21:19:03 -0400

* gnu/packages/crates-io.scm (rust-lalrpop-0.17): Fix build

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aac2077b02..9bdca383fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38247,7 +38247,11 @@ (define-public rust-lalrpop-0.17
        (uri (crate-uri "lalrpop" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1nv7ma8cgw3r1fcma7gy06fwwlpl4fkz91mxv5kjhiaxwyc3dp34"))))
+        (base32 "1nv7ma8cgw3r1fcma7gy06fwwlpl4fkz91mxv5kjhiaxwyc3dp34"))
+      (modules '((guix build utils)))
+      (snippet #~(substitute* "Cargo.toml"
+                 ;; README.md not included in the release tarball.
+                 (("../README.md") "Cargo.toml")))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-- 
2.48.1