We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb2d32e + fb1d987 commit 7706e99Copy full SHA for 7706e99
pkgs/by-name/mi/mistral-rs/package.nix
@@ -159,9 +159,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
159
];
160
161
# swagger-ui will once more be copied in the target directory during the check phase
162
+ # See https://github.com/juhaku/utoipa/blob/utoipa-swagger-ui-7.1.0/utoipa-swagger-ui/build.rs#L168
163
# Not deleting the existing unpacked archive leads to a `PermissionDenied` error
164
preCheck = ''
- rm -rf target/${hostPlatform.config}/release/build/
165
+ rm -rf target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/build/
166
'';
167
168
# Prevent checkFeatures from inheriting buildFeatures because
0 commit comments