mistral-rs: fix build on aarch64-darwin (#398566)

This commit is contained in:
Gaétan Lepage
2025-04-14 18:52:41 +02:00
committed by GitHub
+2 -1
View File
@@ -159,9 +159,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
# swagger-ui will once more be copied in the target directory during the check phase
# See https://github.com/juhaku/utoipa/blob/utoipa-swagger-ui-7.1.0/utoipa-swagger-ui/build.rs#L168
# Not deleting the existing unpacked archive leads to a `PermissionDenied` error
preCheck = ''
rm -rf target/${hostPlatform.config}/release/build/
rm -rf target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/build/
'';
# Prevent checkFeatures from inheriting buildFeatures because