mistral-rs: fix build on aarch64-darwin

Co-authored-by: Niklas Korz <niklas@niklaskorz.de>
This commit is contained in:
Gaetan Lepage
2025-04-14 15:40:35 +02:00
co-authored by Niklas Korz
parent 7208a8355b
commit fb1d987ce2
+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