[bug#74743,rust-team,v2,45/68] gnu: rust-lalrpop-0.17: Fix build

Message ID 20250319011932.1899508-46-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted rust-* package upgrades |

Commit Message

Aaron Covrig March 19, 2025, 1:19 a.m. UTC
  * gnu/packages/crates-io.scm (rust-lalrpop-0.17): Fix build

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
  

Patch

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