lol

tests.makeBinaryWrapper: avoid same-triple cross

We shouldn't try compiling to aarch64-unknown-linux-gnu from
aarch64-unknown-linux-gnu, because that tends to confuse things and is
not representative of actual cross compilation usage.

+1 -1
+1 -1
pkgs/test/make-binary-wrapper/default.nix
··· 52 52 "prefix" 53 53 "suffix" 54 54 ] makeGoldenTest // lib.optionalAttrs (! stdenv.isDarwin) { 55 - cross = pkgsCross.aarch64-multiplatform.callPackage ./cross.nix { }; 55 + cross = pkgsCross.${if stdenv.buildPlatform.isAarch64 then "gnu64" else "aarch64-multiplatform"}.callPackage ./cross.nix { }; 56 56 }; 57 57 in 58 58