mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
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.
This commit is contained in:
parent
a21f3437fc
commit
887edae254
@ -52,7 +52,7 @@ let
|
||||
"prefix"
|
||||
"suffix"
|
||||
] makeGoldenTest // lib.optionalAttrs (! stdenv.isDarwin) {
|
||||
cross = pkgsCross.aarch64-multiplatform.callPackage ./cross.nix { };
|
||||
cross = pkgsCross.${if stdenv.buildPlatform.isAarch64 then "gnu64" else "aarch64-multiplatform"}.callPackage ./cross.nix { };
|
||||
};
|
||||
in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user