hydra-check: drop x86_64-darwin patch

After rust 1.89 is merged into master we can revert the redundant patch.

This reverts commit 87f679dc0a.
This commit is contained in:
Bryan Lai
2025-08-18 17:10:20 +08:00
parent a6d11d1968
commit 3a7a710822
2 changed files with 0 additions and 24 deletions

View File

@@ -1,15 +0,0 @@
diff --git a/Cargo.toml b/Cargo.toml
index bb8d370..7c5b7ac 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,6 +35,10 @@ anyhow = "1.0.89"
insta.opt-level = 3
similar.opt-level = 3
+# work around https://github.com/NixOS/nixpkgs/issues/427072
+[profile.release.package.hyper]
+opt-level = 0
+
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }

View File

@@ -25,15 +25,6 @@ rustPlatform.buildRustPackage (finalAttrs: rec {
cargoHash = "sha256-G9M+1OWp2jlDeSDFagH/YOCdxGQbcru1KFyKEUcMe7g="; cargoHash = "sha256-G9M+1OWp2jlDeSDFagH/YOCdxGQbcru1KFyKEUcMe7g=";
patches =
lib.optional (stdenv.hostPlatform.system == "x86_64-darwin")
# work around rust 1.88 compiler / linker bug for x86_64-darwin. This is
# applied conditionally because it will introduce a performance penalty on
# other host platforms. NOTE: Please check the patch applies if you update
# the package on a different platform (e.g x86_64-linux).
# see: https://github.com/NixOS/nixpkgs/issues/427072
./fix-cargo-1_88-reqwest.patch;
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
installShellFiles installShellFiles