GNU bug report logs -
#75210
[PATCH rust-team] gnu: rust-rustix-0.38: Remove snippet.
Previous Next
Reported by: Herman Rimm <herman <at> rimm.ee>
Date: Mon, 30 Dec 2024 19:40:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/crates-io.scm (rust-rustix-0.38): Remove snippet.
Change-Id: I2c8e9c50dd297038e4bd084ebfa01b49fee022aa
---
gnu/packages/crates-io.scm | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0b38709201d..bfcd77139f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69779,23 +69779,7 @@ (define-public rust-rustix-0.38
(uri (crate-uri "rustix" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1h33ilqk4psn6kqfmd232df3x3lrwp4gjl2nisdmajyw3hzfmr4r"))
- (snippet
- #~(begin (use-modules (guix build utils))
- (for-each delete-file (find-files "." "\\.a$"))
- (delete-file "Cargo.toml")
- (substitute* "Cargo.toml.orig"
- ;; Depend unconditionally on the cc crate
- (("(cc = .*), optional = true.*" _ cc)
- (string-append cc " }\n"))
- ;; Disable using the linux_raw backend
- (("not\\(rustic_use_libc\\)") "miri"))
- (substitute* "build.rs"
- ;; Always use the 'feature = "cc"' path
- (("not\\(feature = \"cc\"\\)") "feature = \"foobar\"")
- (("#\\[cfg\\(feature = \"cc\"\\)\\]" all)
- (string-append "//" all)))
- (copy-file "Cargo.toml.orig" "Cargo.toml")))))
+ (base32 "1h33ilqk4psn6kqfmd232df3x3lrwp4gjl2nisdmajyw3hzfmr4r"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
base-commit: 4d478f0b404a86a0849722536f11fde0b1857bb8
--
2.45.2
This bug report was last modified 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.