argc: use pkgsCross.gnu64 for cross test on Darwin too

This commit is contained in:
Emily
2026-06-26 07:57:56 +01:00
parent 34045fbc40
commit eae528082d
+1 -8
View File
@@ -55,14 +55,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
updateScript = nix-update-script { };
tests = {
cross =
(
if stdenv.hostPlatform.isDarwin then
if stdenv.hostPlatform.isAarch64 then pkgsCross.x86_64-darwin else pkgsCross.aarch64-darwin
else if stdenv.hostPlatform.isAarch64 then
pkgsCross.gnu64
else
pkgsCross.aarch64-multiplatform
).argc;
(if stdenv.hostPlatform.isAarch64 then pkgsCross.gnu64 else pkgsCross.aarch64-multiplatform).argc;
};
};